From a5b8d53177f42b222816a3f7a34641919634c07b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Fri, 30 Aug 2013 19:34:33 +0200 Subject: [PATCH] Fix goto label --- src/supervisor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;