]> granicus.if.org Git - cronie/commitdiff
Log the crond shutdown.
authorTomas Mraz <tmraz@fedoraproject.org>
Tue, 3 Feb 2015 11:25:15 +0000 (12:25 +0100)
committerTomas Mraz <tmraz@fedoraproject.org>
Tue, 3 Feb 2015 11:25:15 +0000 (12:25 +0100)
src/cron.c

index d8b2978df438d1dfbdb339eba6fafc68d07a66d0..753248a59c1cc7ffc078be54c9f21745a62bb7b4 100644 (file)
@@ -486,6 +486,8 @@ int main(int argc, char *argv[]) {
                log_it("CRON", pid, "INFO", "Inotify close failed", errno);
 #endif
 
+       log_it("CRON", pid, "INFO", "Shutting down", 0);
+
        (void) unlink(_PATH_CRON_PID);
 
        return 0;