diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/execline/trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/execline/trap.c b/src/execline/trap.c index c79698b..2930aed 100644 --- a/src/execline/trap.c +++ b/src/execline/trap.c @@ -109,13 +109,13 @@ int main (int argc, char const **argv, char const *const *envp) if (xfersigs) { sigfillset(&set) ; - sigdelset(&set, SIGCHLD) ; sigdelset(&set, SIGKILL) ; sigdelset(&set, SIGSTOP) ; } else { sigemptyset(&set) ; + sigaddset(&set, SIGCHLD) ; for (i = 1 ; i < SKALIBS_NSIG ; i++) if (argvs[i]) sigaddset(&set, i) ; |