X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=initctl.c;h=6dcc86f0fa6e1ed348596b58ff8184f5b1cd57ea;hp=a13aed34c2c8b715e4d230317b071a8bf704d4cd;hb=b9cd233f49f384ea4b8a91c5d1734aae3172bcae;hpb=6542952f8bece780ddf560499e1be9b35c690d26 diff --git a/initctl.c b/initctl.c index a13aed34c..6dcc86f0f 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; }