initial checkin of new hdw-linux development cvs repository
[hdw-linux/hdw-linux.git] / packages / base / sysklogd / signal.patch
1 --- sysklogd-1.4.1.orig/syslogd.c       2001-03-11 19:40:10.000000000 +0000
2 +++ sysklogd-1.4.1/syslogd.c    2003-11-19 16:03:11.376442834 +0000
3 @@ -890,11 +890,11 @@
4                 dprintf("Checking pidfile.\n");
5                 if (!check_pid(PidFile))
6                 {
7 +                       signal (SIGTERM, doexit);
8                         if (fork()) {
9                                 /*
10                                  * Parent process
11                                  */
12 -                               signal (SIGTERM, doexit);
13                                 sleep(300);
14                                 /*
15                                  * Not reached unless something major went wrong.  5