summaryrefslogtreecommitdiff
path: root/sysklogd/klogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd/klogd.c')
-rw-r--r--sysklogd/klogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c
index 6a675b8..01d5971 100644
--- a/sysklogd/klogd.c
+++ b/sysklogd/klogd.c
@@ -26,7 +26,7 @@ static void klogd_signal(int sig ATTRIBUTE_UNUSED)
klogctl(7, NULL, 0);
klogctl(0, NULL, 0);
syslog(LOG_NOTICE, "klogd: exiting");
- exit(EXIT_SUCCESS);
+ kill_myself_with_sig(sig);
}
#define log_buffer bb_common_bufsiz1