From b05a4429e0d7bc67a892e51df9ef8f752d76eadd Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 24 Apr 2010 00:12:52 +0200 Subject: [PATCH] systemctl: load unit if necessary --- systemctl.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.39.5