chiark / gitweb /
logind: rework delay inhibition logic
[elogind.git] / src / login / logind-action.c
index a796ebe..1e529e1 100644 (file)
@@ -60,7 +60,7 @@ int manager_handle_action(
 
         assert(m);
 
-        if (m->action_job || m->delayed_unit) {
+        if (m->action_what) {
                 log_debug("Action already in progress, ignoring.");
                 return -EALREADY;
         }