diff options
author | WaLyong Cho <walyong.cho@samsung.com> | 2015-12-29 14:15:04 +0900 |
---|---|---|
committer | WaLyong Cho <walyong.cho@samsung.com> | 2016-01-14 15:33:43 +0900 |
commit | 10ba4835042c9815a755f8faa774651ec3d52467 (patch) | |
tree | 18a9db9b28a8d695ea843a1a73163adb17ce1e48 /src/systemctl | |
parent | 8ec46f55e5d615696b013e6325b19af441fdd187 (diff) |
bus-util: print "systemctl --user" on user service manager
When a unit was started with "systemctl --user" and it failed, error
messages is printed as "systemctl status". But it should be "systemctl
--user status".
Diffstat (limited to 'src/systemctl')
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
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; |