]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
logind: remember to remove '/run/systemd/shutdown/scheduled'
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Wed, 23 Aug 2017 14:58:03 +0000 (15:58 +0100)
committerAlan Jenkins <alan.christopher.jenkins@gmail.com>
Thu, 24 Aug 2017 11:42:10 +0000 (12:42 +0100)
src/login/logind-dbus.c

index cd22ff4fca1bcda597875ced2d26773061068e87..0f8d0205ae4df4e163bc7fa86545ee2ef32100e9 100644 (file)
@@ -1496,6 +1496,7 @@ static void reset_scheduled_shutdown(Manager *m) {
                 (void) unlink("/run/nologin");
                 m->unlink_nologin = false;
         }
+        (void) unlink("/run/systemd/shutdown/scheduled");
 }
 
 static int execute_shutdown_or_sleep(