Fix goto label

This commit is contained in:
Nils O. Selåsdal
2013-08-30 19:34:33 +02:00
parent 1a85dd3231
commit a5b8d53177
+1 -1
View File
@@ -77,7 +77,7 @@ again:
syslog(LOG_ERR, "waitpid of supervised process(pid %ld) status = 0x%X", (long)pid, status); syslog(LOG_ERR, "waitpid of supervised process(pid %ld) status = 0x%X", (long)pid, status);
if (kill(pid, 0) == 0) { if (kill(pid, 0) == 0) {
syslog(LOG_ERR, "supervised process(pid %ld) seems to still be alive, not restarting", (long)pid); syslog(LOG_ERR, "supervised process(pid %ld) seems to still be alive, not restarting", (long)pid);
goto restart; goto again;
} }
return RESTART; return RESTART;