summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2010-10-03 21:56:15 (GMT)
committerChristian Pointner <equinox@helsinki.at>2010-10-03 21:56:15 (GMT)
commit89a8b7519bccc589b9a4a723d84f56a157d40a0e (patch)
tree87eab8fb07efa977cd4c4639421136342370bc8f
parent08a6ab5dd6874dcf250c531a94b9fbdd14ecee92 (diff)
fixed signal handler
-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;