service: fix main_pid_good() comment
We don't actually return -1, don't claim that.
This commit is contained in:
+1
-2
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user