diff options
author | Pavel Roskin | 2000-09-13 14:14:29 +0000 |
---|---|---|
committer | Pavel Roskin | 2000-09-13 14:14:29 +0000 |
commit | d39d12099805ff4e0bb8841e951fc758d9b517c7 (patch) | |
tree | 646f188bb80e8769dcc6b93a0be3b098d3769651 /sysklogd/syslogd.c | |
parent | 5d513f72568afe4552cfc12880b7744c88bfdd4b (diff) | |
download | busybox-d39d12099805ff4e0bb8841e951fc758d9b517c7.zip busybox-d39d12099805ff4e0bb8841e951fc758d9b517c7.tar.gz |
Make syslogd ignore SIGCLD only if SIGCLD is defined. This should fix SPARC.
Also ignore SIGCHLD - it must have been meant.
Diffstat (limited to 'sysklogd/syslogd.c')
-rw-r--r-- | sysklogd/syslogd.c | 3 |
1 files changed, 3 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); |