diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-13 11:44:59 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-13 11:44:59 +0000 |
commit | de1f787307066bea620b3d6631ac68ebf657d561 (patch) | |
tree | 3e4d9d68c294f6daa2b9e85cfbfa8529effb8d55 /syslogd.c | |
parent | 18bea60667f4ced5ac65e91fbd7c7a00ba22b319 (diff) | |
download | rsyslog-de1f787307066bea620b3d6631ac68ebf657d561.tar.gz rsyslog-de1f787307066bea620b3d6631ac68ebf657d561.tar.xz rsyslog-de1f787307066bea620b3d6631ac68ebf657d561.zip |
- fixed a race condition in DoDie() - cosmetic issue in debugging mode,
could not happen in production
- added the ability to persist current read location for the file monitor
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2413,9 +2413,9 @@ void logerror(char *type) static void doDie(int sig) { static int iRetries = 0; /* debug aid */ - dbgprintf("DoDie called.\n"); + printf("DoDie called.\n"); if(iRetries++ == 4) { - dbgprintf("DoDie called 5 times - unconditional exit\n"); + printf("DoDie called 5 times - unconditional exit\n"); exit(1); } bFinished = sig; |