Cleanup interactive check
* strace.c (init): Check for INTR_WHILE_WAIT mode the same way as in other places.
This commit is contained in:
parent
ea64209ef7
commit
ab2efa7a54
2
strace.c
2
strace.c
@ -1927,7 +1927,7 @@ init(int argc, char *argv[])
|
||||
* and acted on in between, when waiting for new syscall stops.
|
||||
* In non-interactive mode, signals are ignored.
|
||||
*/
|
||||
if (opt_intr == INTR_WHILE_WAIT) {
|
||||
if (interactive) {
|
||||
sigaddset(&blocked_set, SIGHUP);
|
||||
sigaddset(&blocked_set, SIGINT);
|
||||
sigaddset(&blocked_set, SIGQUIT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user