From: Lennart Poettering Date: Fri, 23 Apr 2010 22:12:52 +0000 (+0200) Subject: systemctl: load unit if necessary X-Git-Tag: 0.git+20100605+dfd8ee-1~63 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b05a4429e0d7bc67a892e51df9ef8f752d76eadd;p=systemd systemctl: load unit if necessary --- diff --git a/systemctl.vala b/systemctl.vala index 65ee0fe7..34685e1f 100644 --- a/systemctl.vala +++ b/systemctl.vala @@ -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",