diff options
Diffstat (limited to 'src/sig_handler.c')
-rw-r--r-- | src/sig_handler.c | 2 |
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]); |