diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2013-12-07 21:53:37 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2013-12-07 22:39:46 +0100 |
commit | 4c49ab0e7a7f9f14f4308476257cd3548d0b4694 (patch) | |
tree | 97461154a8718b8d0260e724e91449a15c8afbdd /src/quotacheck | |
parent | d8fba7c6ccea5e60f31f329f481fb2cdf6907ce9 (diff) |
systemctl: fix and refactor wait_for_jobs
wait_for_jobs was ignoring the errors from the jobs stored in r.
It would only ever return whether the call to sd_bus_remove_filter
went ok. This patch changes it to return the first job related error
encountered. If a job related error is found, then the result of the
call to sd_bus_remove_filter is ignored.
wait_for_jobs was a bit hard to read so I split it up to avoid
the goto and deep nesting.
Diffstat (limited to 'src/quotacheck')
0 files changed, 0 insertions, 0 deletions