chiark / gitweb /
Incorporate sleep.conf into logind.conf
[elogind.git] / src / login / logind-dbus.c
index 301c4de2fe8df691f79da262622730ea5d505f77..859ad3b58ca19651c1595fb2c5910918df54868a 100644 (file)
@@ -1430,9 +1430,7 @@ static int execute_shutdown_or_sleep(
 
         bus_manager_log_shutdown(m, w, action);
 
-        /* FIXME: here do the thing.  */
-
-        r = shutdown_or_sleep(action);
+        r = shutdown_or_sleep(m, action);
         if (r < 0)
                 return r;