]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Revert "bus-unit-util: fix bus_wait_for_jobs() debug output (#8760)"
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 24 Apr 2018 10:13:46 +0000 (12:13 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 24 Apr 2018 12:09:53 +0000 (14:09 +0200)
This reverts commit d6b87637c52148f5861aca557de2711dcd0c2efd.

Let's try a different approach.

src/shared/bus-unit-util.c

index 3cf024889995291360bef84e6b8ce5256e264679..49cee2939e4717dd70c1bfc3fe02ee22b5c02bea 100644 (file)
@@ -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));
                 }