summaryrefslogtreecommitdiff
path: root/systemctl.vala
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-24 01:54:12 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-24 01:54:12 +0200
commit4e8e2288650780f74f90ee0c5133c1effbfdca17 (patch)
tree2aa5546842bf26ebc82005d9d4fe66585440ee57 /systemctl.vala
parent214b1eb17048f5fcfbdc04207a480a9c3586eef7 (diff)
systemctl: load unit if needed when isolating
Diffstat (limited to 'systemctl.vala')
-rw-r--r--systemctl.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemctl.vala b/systemctl.vala
index 34685e1f8c..10bb0eac99 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",