summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sig_handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sig_handler.c b/sig_handler.c
index d9f78b1..23ccbec 100644
--- a/sig_handler.c
+++ b/sig_handler.c
@@ -86,7 +86,7 @@ int signal_init()
act.sa_handler = sig_handler;
sigfillset(&act.sa_mask);
act.sa_flags = 0;
- act_ign.sa_handler = sig_handler;
+ act_ign.sa_handler = SIG_IGN;
sigfillset(&act_ign.sa_mask);
act_ign.sa_flags = 0;