summaryrefslogtreecommitdiffstats
path: root/pand/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'pand/main.c')
-rw-r--r--pand/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pand/main.c b/pand/main.c
index 026a879d..07c3decd 100644
--- a/pand/main.c
+++ b/pand/main.c
@@ -235,6 +235,11 @@ static int w4_hup(int sk)
int n;
sigfillset(&sigs);
+ sigdelset(&sigs, SIGCHLD);
+ sigdelset(&sigs, SIGPIPE);
+ sigdelset(&sigs, SIGTERM);
+ sigdelset(&sigs, SIGINT);
+ sigdelset(&sigs, SIGHUP);
while (!terminate) {
pf.fd = sk;