]> git.ipfire.org Git - thirdparty/systemd.git/commit
service: accept the fact that the three xyz_good() functions return ints
authorLennart Poettering <lennart@poettering.net>
Fri, 29 Sep 2017 14:41:34 +0000 (16:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 2 Oct 2017 10:58:42 +0000 (12:58 +0200)
commitb13ddbbcf35197651c9a60fba58d4d89e18ee769
tree70c4ecb2d3205710e7c422f56cacedf2f74bad3f
parent019be286767fae799eac20d77cc3982e0622729e
service: accept the fact that the three xyz_good() functions return ints

Currently, all three of cgroup_good(), main_pid_good(),
control_pid_good() all return an "int" (two of them propagate errors).
It's a good thing to keep the three functions similar, so let's leave it
at that, but then let's clean up the invocation of the three functions
so that they always clearly acknowledge that the return value is not a
bool, but potentially negative.
src/core/service.c