mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-28 11:55:23 +03:00
bus-util: fix error number output when waiting for job
This commit is contained in:
parent
1a4873c499
commit
2efe2438fd
@ -1760,6 +1760,7 @@ int bus_wait_for_jobs(BusWaitForJobs *d, bool quiet) {
|
||||
if (q < 0 && r == 0)
|
||||
r = q;
|
||||
|
||||
errno = 0;
|
||||
log_debug_errno(q, "Got result %s/%m for job %s", strna(d->result), strna(d->name));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user