if (r < 0)
return r;
+ session_add_to_gc_queue(session);
+
return sd_bus_reply_method_return(message, NULL);
}
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;