diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-24 00:12:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-24 00:12:52 +0200 |
commit | b05a4429e0d7bc67a892e51df9ef8f752d76eadd (patch) | |
tree | f20ebfd0e3661904b48ec56d350c0437a1b792eb /systemctl.vala | |
parent | e11dc4a213876143e7111dc0afee72a5cecd3b12 (diff) |
systemctl: load unit if necessary
Diffstat (limited to 'systemctl.vala')
-rw-r--r-- | systemctl.vala | 2 |
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", |