From 1874d6e1369baf7a3c0ad291c065fa59c42463fb Mon Sep 17 00:00:00 2001 From: ckolivas Date: Thu, 19 Jun 2014 13:17:54 +1000 Subject: [PATCH] Send a message back from the listener under all circumstances --- src/ckpool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ckpool.c b/src/ckpool.c index 336fd882..ad5b0ba7 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -95,6 +95,7 @@ retry: buf = recv_unix_msg(sockd); if (!buf) { LOGWARNING("Failed to get message in listener"); + send_unix_msg(sockd, "failed"); } else if (!strncasecmp(buf, "shutdown", 8)) { LOGWARNING("Listener received shutdown message, terminating ckpool"); send_unix_msg(sockd, "exiting");