1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-21 02:50:18 +03:00

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

This commit is contained in:
Alan Jenkins 2017-08-23 15:58:03 +01:00
parent 521d3679c1
commit cbc373502f

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(