mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
Revert "bus-unit-util: fix bus_wait_for_jobs() debug output (#8760)"
This reverts commit d6b87637c5
.
Let's try a different approach.
This commit is contained in:
parent
679def2a06
commit
9169e4c7ba
@ -1971,8 +1971,6 @@ int bus_wait_for_jobs(BusWaitForJobs *d, bool quiet, const char* const* extra_ar
|
||||
if (q < 0 && r == 0)
|
||||
r = q;
|
||||
|
||||
errno = 0; /* Reset errno explicitly, so that log_debug_errno() will properly print 'Success'
|
||||
* for q == 0, instead of whatever is set in errno */
|
||||
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