summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",