summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/execline/trap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/execline/trap.c b/src/execline/trap.c
index 29d13ef..4a248d5 100644
--- a/src/execline/trap.c
+++ b/src/execline/trap.c
@@ -100,6 +100,8 @@ int main (int argc, char const **argv, char const *const *envp)
sigset_t full ;
sigfillset(&full) ;
sigdelset(&full, SIGCHLD) ;
+ sigdelset(&full, SIGKILL) ;
+ sigdelset(&full, SIGSTOP) ;
for (i = 1 ; i <= NSIG ; i++)
if (!argvs[i] && sigismember(&full, i) > 0 && selfpipe_trap(i) < 0)
{