chiark / gitweb /
systemctl: load unit if necessary
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Apr 2010 22:12:52 +0000 (00:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Apr 2010 22:12:52 +0000 (00:12 +0200)
systemctl.vala

index 65ee0fe..34685e1 100644 (file)
@@ -196,7 +196,7 @@ int main (string[] args) {
 
                         for (int i = 2; i < args.length; i++) {
 
-                                ObjectPath p = manager.get_unit(args[i]);
+                                ObjectPath p = manager.load_unit(args[i]);
 
                                 Unit u = bus.get_object(
                                                 "org.freedesktop.systemd1",