From: Alan Jenkins Date: Wed, 23 Aug 2017 14:58:03 +0000 (+0100) Subject: logind: remember to remove '/run/systemd/shutdown/scheduled' X-Git-Tag: v235~192^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbc373502f1d6e2df01e43538006e31975f555ec;p=thirdparty%2Fsystemd.git logind: remember to remove '/run/systemd/shutdown/scheduled' --- diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index cd22ff4fca1..0f8d0205ae4 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -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(