mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
systemctl: print a more accurate error message when we can
This commit is contained in:
parent
c2f64c07c1
commit
d2e1b2fd67
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user