]> err.no Git - systemd/commitdiff
systemctl: load unit if needed when isolating
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Apr 2010 23:54:12 +0000 (01:54 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Apr 2010 23:54:12 +0000 (01:54 +0200)
systemctl.vala

index 34685e1f8c1694ad19488b6321ad722f488e9c32..10bb0eac9928ec6f165b7f476696acfa20c0f763 100644 (file)
@@ -222,7 +222,7 @@ int main (string[] args) {
                                 return 1;
                         }
 
-                        ObjectPath p = manager.get_unit(args[2]);
+                        ObjectPath p = manager.load_unit(args[2]);
 
                         Unit u = bus.get_object(
                                         "org.freedesktop.systemd1",