service: fix main_pid_good() comment

We don't actually return -1, don't claim that.
This commit is contained in:
Lennart Poettering
2017-10-02 12:58:37 +02:00
parent 965d824031
commit 51894d706f
+1 -2
View File
@@ -1401,8 +1401,7 @@ static int service_spawn(
static int main_pid_good(Service *s) {
assert(s);
/* Returns 0 if the pid is dead, 1 if it is good, -1 if we
* don't know */
/* Returns 0 if the pid is dead, > 0 if it is good, < 0 if we don't know */
/* If we know the pid file, then let's just check if it is
* still valid */