From 19f8866bb1bbccd0abd18838251d242c1b81b7cc Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 26 Feb 2008 14:09:08 +0000 Subject: bugfix: rsyslogd segfaulted on second SIGHUP tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=38 --- syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syslogd.c') 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; } -- cgit v1.2.3