summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-08-19 19:08:41 +0200
committerGitHub <noreply@github.com>2016-08-19 19:08:41 +0200
commitdc9710ae23a82c8353d016d410a4cca02f14f6b5 (patch)
tree49614254389a9a0bc17c46d955b2eda61dd1694d /src
parentfb1bad9d51644f9db75f0aff7afc45610662756d (diff)
parent05b2a8fd7a0533758d2f532df798cabc3c442683 (diff)
Merge pull request #3961 from keszybz/pr/3924
Add documentation to #3924
Diffstat (limited to 'src')
-rw-r--r--src/login/logind-action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-action.c b/src/login/logind-action.c
index 8ef48dbaa1..a950409254 100644
--- a/src/login/logind-action.c
+++ b/src/login/logind-action.c
@@ -85,7 +85,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;