diff options
-rw-r--r-- | sysklogd/syslogd.c | 3 | ||||
-rw-r--r-- | syslogd.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 8648da2..d647866 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -301,7 +301,10 @@ static void doSyslogd (void) signal (SIGTERM, quit_signal); signal (SIGQUIT, quit_signal); signal (SIGHUP, SIG_IGN); + signal (SIGCHLD, SIG_IGN); +#ifdef SIGCLD signal (SIGCLD, SIG_IGN); +#endif signal (SIGALRM, domark); alarm (MarkInterval); @@ -301,7 +301,10 @@ static void doSyslogd (void) signal (SIGTERM, quit_signal); signal (SIGQUIT, quit_signal); signal (SIGHUP, SIG_IGN); + signal (SIGCHLD, SIG_IGN); +#ifdef SIGCLD signal (SIGCLD, SIG_IGN); +#endif signal (SIGALRM, domark); alarm (MarkInterval); |