From 265fbcd7e07db9611f3f482b335add2c7979dca5 Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Tue, 27 Jun 2017 08:25:23 +0200 Subject: [PATCH] Prep v231.2: elogind is a stand-alone daemon, so do not exit if suspending the system fails. --- src/login/logind-dbus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index 7313f4329..387b824f7 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -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; -- 2.30.2