mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-16 21:30:52 +00:00
bus-util: fix error number output when waiting for job
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user