summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-26 14:09:08 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-26 14:09:08 +0000
commit19f8866bb1bbccd0abd18838251d242c1b81b7cc (patch)
tree7b3b4803ec1961cd6896976019c39adb2a9c7683 /syslogd.c
parent258300adfd7d2dc620bac24037bdea1a290215a5 (diff)
downloadrsyslog-19f8866bb1bbccd0abd18838251d242c1b81b7cc.tar.gz
rsyslog-19f8866bb1bbccd0abd18838251d242c1b81b7cc.tar.xz
rsyslog-19f8866bb1bbccd0abd18838251d242c1b81b7cc.zip
bugfix: rsyslogd segfaulted on second SIGHUP tracker:
http://bugzilla.adiscon.com/show_bug.cgi?id=38
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syslogd.c b/syslogd.c
index b1572f18..037eddf8 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -2464,7 +2464,7 @@ static void doDie(int sig)
printf("DoDie called.\n");
if(iRetries++ == 4) {
printf("DoDie called 5 times - unconditional exit\n");
- exit(1);
+ abort();
}
bFinished = sig;
}