summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-14 16:09:54 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-14 16:09:54 +0100
commitdeebd4d26f42e837ed57f6e9ccbe99dfe0e7f6d6 (patch)
tree9dbc1ac70b824cdea9fc1ac0d3627ac7a58e2779 /src/systemctl
parentca9ec350f39096f19d6672e38ca2419877627a4b (diff)
parent10ba4835042c9815a755f8faa774651ec3d52467 (diff)
Merge pull request #2319 from walyong/log_msg_v04
[v4] bus-util: print "systemctl --user" on user service manager
Diffstat (limited to 'src/systemctl')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 1448d974bd..6eded5c790 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -2794,7 +2794,7 @@ static int start_unit(int argc, char *argv[], void *userdata) {
if (!arg_no_block) {
int q;
- q = bus_wait_for_jobs(w, arg_quiet);
+ q = bus_wait_for_jobs(w, arg_quiet, arg_scope != UNIT_FILE_SYSTEM ? "--user" : NULL);
if (q < 0)
return q;