From b05a4429e0d7bc67a892e51df9ef8f752d76eadd Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 24 Apr 2010 00:12:52 +0200 Subject: systemctl: load unit if necessary --- systemctl.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemctl.vala b/systemctl.vala index 65ee0fe72f..34685e1f8c 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", -- cgit v1.2.3-54-g00ecf