summaryrefslogtreecommitdiff
path: root/initctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'initctl.c')
-rw-r--r--initctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/initctl.c b/initctl.c
index 96a4d99003..7156008864 100644
--- a/initctl.c
+++ b/initctl.c
@@ -115,7 +115,7 @@ static void change_runlevel(Server *s, int runlevel) {
log_debug("Running request %s", target);
- if (!(m = dbus_message_new_method_call("org.freedesktop.systemd1", "/org/freedesktop/systemd1", "org.freedesktop.systemd1", "GetUnit"))) {
+ if (!(m = dbus_message_new_method_call("org.freedesktop.systemd1", "/org/freedesktop/systemd1", "org.freedesktop.systemd1.Manager", "GetUnit"))) {
log_error("Could not allocate message.");
goto finish;
}