chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
systemctl: load unit if necessary
[elogind.git]
/
systemctl.vala
diff --git
a/systemctl.vala
b/systemctl.vala
index 65ee0fe72f0f70e42b6ddfd47bc64196d3fe91e8..34685e1f8c1694ad19488b6321ad722f488e9c32 100644
(file)
--- 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",