summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-12-20 00:58:19 +0100
committerDaniel Mack <github@zonque.org>2015-12-20 00:58:19 +0100
commit0038f71da9db5eb163c9ca7885189e53c7416f9a (patch)
treedf9dd43422d70555d79ea028b85d0625f845c997 /src
parent47260caf023c93840b9dbc58305bcc2e2992f79b (diff)
parent0671d7f4636e2fb634f0fbad9c61fd1feb738023 (diff)
Merge pull request #2193 from ToostInc/logindbus-typo-fix
Fix typo on logind-dbus.c
Diffstat (limited to 'src')
-rw-r--r--src/login/logind-dbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index c1643cf41a..4631f5fc90 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -1944,9 +1944,9 @@ static int method_schedule_shutdown(sd_bus_message *message, void *userdata, sd_
action_multiple_sessions = "org.freedesktop.login1.halt-multiple-sessions";
action_ignore_inhibit = "org.freedesktop.login1.halt-ignore-inhibit";
} else if (streq(type, "poweroff")) {
- action = "org.freedesktop.login1.poweroff";
- action_multiple_sessions = "org.freedesktop.login1.poweroff-multiple-sessions";
- action_ignore_inhibit = "org.freedesktop.login1.poweroff-ignore-inhibit";
+ action = "org.freedesktop.login1.power-off";
+ action_multiple_sessions = "org.freedesktop.login1.power-off-multiple-sessions";
+ action_ignore_inhibit = "org.freedesktop.login1.power-off-ignore-inhibit";
} else
return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Unsupported shutdown type");