summaryrefslogtreecommitdiff
path: root/systemctl.vala
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-24 00:12:52 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-24 00:12:52 +0200
commitb05a4429e0d7bc67a892e51df9ef8f752d76eadd (patch)
treef20ebfd0e3661904b48ec56d350c0437a1b792eb /systemctl.vala
parente11dc4a213876143e7111dc0afee72a5cecd3b12 (diff)
systemctl: load unit if necessary
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 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",