chiark / gitweb /
Prep v221: Update and clean up build system to sync with upstream
[elogind.git] / src / login / logind-dbus.c
index 10a9df09613b981031d22c933d870b3aac2294dd..1f5cf865b1440824cd5680053ca4a9c99efe487f 100644 (file)
@@ -1964,11 +1964,6 @@ static int method_cancel_scheduled_shutdown(sd_bus_message *message, void *userd
         m->scheduled_shutdown_type = NULL;
         m->scheduled_shutdown_timeout = 0;
 
-        if (m->unlink_nologin) {
-                (void) unlink("/run/nologin");
-                m->unlink_nologin = false;
-        }
-
         if (cancelled) {
                 _cleanup_bus_creds_unref_ sd_bus_creds *creds = NULL;
                 const char *tty = NULL;