summaryrefslogtreecommitdiff
path: root/src/sig_handler.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-09-17 03:43:08 +0200
committerChristian Pointner <equinox@spreadspace.org>2015-09-17 03:43:08 +0200
commitb553ed2c9ca63a2ef834026cfe5469aa874dca89 (patch)
tree1408e69afafd84cceba6c1beb2f8ebf91df5fe1e /src/sig_handler.c
parentadded option for children policy (diff)
implemented children policies
Diffstat (limited to 'src/sig_handler.c')
-rw-r--r--src/sig_handler.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sig_handler.c b/src/sig_handler.c
index 9e9e3e7..7287320 100644
--- a/src/sig_handler.c
+++ b/src/sig_handler.c
@@ -83,7 +83,6 @@ int signal_init()
(sigaction(SIGHUP, &act, NULL) < 0) ||
(sigaction(SIGUSR1, &act, NULL) < 0) ||
(sigaction(SIGUSR2, &act, NULL) < 0) ||
- (sigaction(SIGCHLD, &ign, NULL) < 0) ||
(sigaction(SIGPIPE, &ign, NULL) < 0)) {
log_printf(ERROR, "signal handling init failed (sigaction error: %s)", strerror(errno));
@@ -145,7 +144,6 @@ void signal_stop()
sigaction(SIGHUP, &act, NULL);
sigaction(SIGUSR1, &act, NULL);
sigaction(SIGUSR2, &act, NULL);
- sigaction(SIGCHLD, &act, NULL);
sigaction(SIGPIPE, &act, NULL);
close(sig_pipe_fds[0]);