]> git.ipfire.org Git - thirdparty/systemd.git/commit
manager: rework error handling and logging in manager_reload()
authorLennart Poettering <lennart@poettering.net>
Tue, 9 Oct 2018 15:02:14 +0000 (17:02 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 9 Oct 2018 17:43:43 +0000 (19:43 +0200)
commit6a33af40da2b31f3f253c533b11d328c26a8d3b2
treeee30dd33f966445be309e336c6edcf0c681cff10
parenteb10d0bf8a40e154614eb3b046dc619dcfd55e2b
manager: rework error handling and logging in manager_reload()

let's clean up error handling and logging in manager_reload() a bit.
Specifically: make sure we log about every error we might encounter at
least and at most once.

When we encounter an error before the "point of no return" then log at
LOG_ERR about it and propagate it. Otherwise, eat it up, but warn about
it and proceed, it's the best we can do.
src/core/main.c
src/core/manager.c