Fix goto label
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ again:
|
||||
syslog(LOG_ERR, "waitpid of supervised process(pid %ld) status = 0x%X", (long)pid, status);
|
||||
if (kill(pid, 0) == 0) {
|
||||
syslog(LOG_ERR, "supervised process(pid %ld) seems to still be alive, not restarting", (long)pid);
|
||||
goto restart;
|
||||
goto again;
|
||||
}
|
||||
|
||||
return RESTART;
|
||||
|
||||
Reference in New Issue
Block a user