From: Lennart Poettering Date: Fri, 23 Apr 2010 23:54:12 +0000 (+0200) Subject: systemctl: load unit if needed when isolating X-Git-Tag: v1~454 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=4e8e2288650780f74f90ee0c5133c1effbfdca17 systemctl: load unit if needed when isolating --- diff --git a/systemctl.vala b/systemctl.vala index 34685e1f8..10bb0eac9 100644 --- a/systemctl.vala +++ b/systemctl.vala @@ -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",