]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: allow manager_serialize() to fail correctly
authorLennart Poettering <lennart@poettering.net>
Tue, 9 Oct 2018 14:45:33 +0000 (16:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 9 Oct 2018 17:43:43 +0000 (19:43 +0200)
commit4daf832afaeac471085e56445a05218217bf5107
tree6f6a61b294c8a799a365f2bc7dd389c93df42cf8
parentfc37d875a1c6cb00379399adb67f67858ee95403
core: allow manager_serialize() to fail correctly

If manager_serialize() fails in the middle (which it hopefully doesn't)
make sure to fix up m->n_reloading correctly again so that we don't
leave it > 0 when it really shouldn't be.
src/core/manager.c