logind: remember to remove '/run/systemd/shutdown/scheduled'

This commit is contained in:
Alan Jenkins
2017-08-24 12:42:10 +01:00
parent 521d3679c1
commit cbc373502f
+1
View 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(