Blame SOURCES/cronie-1.4.11-shutdown-msg.patch
|
|
44736f |
diff -up cronie-1.4.11/src/cron.c.shutdown-msg cronie-1.4.11/src/cron.c
|
|
|
44736f |
--- cronie-1.4.11/src/cron.c.shutdown-msg 2015-04-21 15:29:14.218651528 +0200
|
|
|
44736f |
+++ cronie-1.4.11/src/cron.c 2015-04-21 15:29:30.212023639 +0200
|
|
|
44736f |
@@ -486,6 +486,8 @@ int main(int argc, char *argv[]) {
|
|
|
44736f |
log_it("CRON", pid, "INFO", "Inotify close failed", errno);
|
|
|
44736f |
#endif
|
|
|
44736f |
|
|
|
44736f |
+ log_it("CRON", pid, "INFO", "Shutting down", 0);
|
|
|
44736f |
+
|
|
|
44736f |
(void) unlink(_PATH_CRON_PID);
|
|
|
44736f |
|
|
|
44736f |
return 0;
|