diff options
Diffstat (limited to 'sysklogd/syslogd.c')
-rw-r--r-- | sysklogd/syslogd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index f12359476..d0dd1bd20 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c | |||
@@ -1098,7 +1098,7 @@ static void do_syslogd(void) | |||
1098 | } /* while (!bb_got_signal) */ | 1098 | } /* while (!bb_got_signal) */ |
1099 | 1099 | ||
1100 | timestamp_and_log_internal("syslogd exiting"); | 1100 | timestamp_and_log_internal("syslogd exiting"); |
1101 | remove_pidfile(CONFIG_PID_FILE_PATH "/syslogd.pid"); | 1101 | remove_pidfile_std_path_and_ext("syslogd"); |
1102 | ipcsyslog_cleanup(); | 1102 | ipcsyslog_cleanup(); |
1103 | if (option_mask32 & OPT_kmsg) | 1103 | if (option_mask32 & OPT_kmsg) |
1104 | kmsg_cleanup(); | 1104 | kmsg_cleanup(); |
@@ -1164,7 +1164,7 @@ int syslogd_main(int argc UNUSED_PARAM, char **argv) | |||
1164 | } | 1164 | } |
1165 | 1165 | ||
1166 | //umask(0); - why?? | 1166 | //umask(0); - why?? |
1167 | write_pidfile(CONFIG_PID_FILE_PATH "/syslogd.pid"); | 1167 | write_pidfile_std_path_and_ext("syslogd"); |
1168 | 1168 | ||
1169 | do_syslogd(); | 1169 | do_syslogd(); |
1170 | /* return EXIT_SUCCESS; */ | 1170 | /* return EXIT_SUCCESS; */ |