From 12d138758d38699bec0a1245bbcf1b268668e141 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 23 Apr 2010 22:29:23 +0200 Subject: [PATCH] initctl: load the sysv compat targets if they aren't loaded yet --- initctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initctl.c b/initctl.c index a13aed3..6dcc86f 100644 --- a/initctl.c +++ b/initctl.c @@ -109,7 +109,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.Manager", "GetUnit"))) { + if (!(m = dbus_message_new_method_call("org.freedesktop.systemd1", "/org/freedesktop/systemd1", "org.freedesktop.systemd1.Manager", "LoadUnit"))) { log_error("Could not allocate message."); goto finish; } -- 2.7.4