mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
Make syslogd ignore SIGCLD only if SIGCLD is defined. This should fix SPARC.
Also ignore SIGCHLD - it must have been meant.
This commit is contained in:
parent
5d513f7256
commit
d39d120998
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user