diff --git a/src/supervisor.c b/src/supervisor.c index 1a89a39..b5f41d8 100644 --- a/src/supervisor.c +++ b/src/supervisor.c @@ -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;