diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-03-29 20:23:16 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-04-02 05:44:12 +0900 |
commit | d2e1b2fd67d44830417b64d26f2945d752b75d9e (patch) | |
tree | 20949f134d63d605f10077fa462f24a6a25f2c37 /src/systemctl | |
parent | c2f64c07c1dd317e5698b672a91bf8ba5726c948 (diff) | |
download | systemd-d2e1b2fd67d44830417b64d26f2945d752b75d9e.tar.gz |
systemctl: print a more accurate error message when we can
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 2f3efd23c4..92bbcfd276 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -3042,7 +3042,7 @@ static int start_unit_one( log_debug("Adding %s to the set", path); r = bus_wait_for_jobs_add(w, path); if (r < 0) - return log_oom(); + return log_error_errno(r, "Failed to watch job for %s: %m", name); } return 0; |