]> err.no Git - systemd/commitdiff
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 63d5d9cd9f3fae168de878955becde144f38d35d..4620315a02e2c5a6b6db12f2e4dfb6978b473a3e 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;