chiark / gitweb /
systemctl: load unit when introspecting
authorLennart Poettering <lennart@poettering.net>
Sun, 4 Jul 2010 02:24:23 +0000 (04:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 4 Jul 2010 02:24:23 +0000 (04:24 +0200)
src/systemctl.c

index 63d5d9c..4620315 100644 (file)
@@ -1264,7 +1264,7 @@ static int show(DBusConnection *bus, char **args, unsigned n) {
                                               "org.freedesktop.systemd1",
                                               "/org/freedesktop/systemd1",
                                               "org.freedesktop.systemd1.Manager",
-                                              "GetUnit"))) {
+                                              "LoadUnit"))) {
                                 log_error("Could not allocate message.");
                                 r = -ENOMEM;
                                 goto finish;