systemctl: load unit when introspecting

This commit is contained in:
Lennart Poettering
2010-07-04 04:24:23 +02:00
parent a68c7a7ace
commit e87d1818cd

View 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;