summaryrefslogtreecommitdiff
path: root/src/login/logind-action.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-01 21:11:12 +0200
committerLennart Poettering <lennart@poettering.net>2015-10-01 21:11:12 +0200
commit2c6c4ab2f5523940df64af205315612d89b818f0 (patch)
tree732599107fb011f08cc9fa2a7b0eda2d08363474 /src/login/logind-action.c
parent8ac5aaa9fa47622e480391886c34f052f5ff909d (diff)
logind: remove warn_melody() logic
The internal speaker is usually not available on modern latops that support suspend, and even if it is available in the hardware, most distributions turned support for it off in the kernel. And even if it is enabled, it's probably still a bad idea to make use of it for the suspend-failures. If anything a proper sound should be played. Long story short, let's remove support of this anachronism.
Diffstat (limited to 'src/login/logind-action.c')
-rw-r--r--src/login/logind-action.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/login/logind-action.c b/src/login/logind-action.c
index f635fb1b63..a44e369149 100644
--- a/src/login/logind-action.c
+++ b/src/login/logind-action.c
@@ -147,7 +147,6 @@ int manager_handle_action(
offending->uid, strna(u),
offending->pid, strna(comm));
- warn_melody();
return -EPERM;
}