chiark / gitweb /
Prep v231.2: elogind is a stand-alone daemon, so do not exit if suspending the system...
authorSven Eden <yamakuzure@gmx.net>
Tue, 27 Jun 2017 06:25:23 +0000 (08:25 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 27 Jun 2017 06:25:23 +0000 (08:25 +0200)
src/login/logind-dbus.c

index 7313f43..387b824 100644 (file)
@@ -1679,7 +1679,9 @@ int manager_dispatch_delayed(Manager *manager, bool timeout) {
 
                 manager->pending_action = HANDLE_IGNORE;
                 manager->action_what    = 0;
+#if 0 /// It is not a critical error for elogind if suspending fails
                 return r;
+#endif // 0
         }
 
         return 1;