chiark / gitweb /
Prep v231.2: Send processes the wakeup signal, even if suspending the system failed.
[elogind.git] / src / login / logind-action.c
index d50f6ebf6d628a799ba1571cdb03182869796595..82c061d62677b6907942391fbaddfde9d3060461 100644 (file)
@@ -38,7 +38,6 @@
 #include "sd-messages.h"
 #include "strv.h"
 
-
 int manager_handle_action(
                 Manager *m,
                 InhibitWhat inhibit_key,
@@ -94,7 +93,7 @@ int manager_handle_action(
         }
 
         /* If the key handling is inhibited, don't do anything */
-        if (!ignore_inhibited && inhibit_key > 0) {
+        if (inhibit_key > 0) {
                 if (manager_is_inhibited(m, inhibit_key, INHIBIT_BLOCK, NULL, true, false, 0, NULL)) {
                         log_debug("Refusing operation, %s is inhibited.", inhibit_what_to_string(inhibit_key));
                         return 0;