Browse Source

Send a message back from the listener under all circumstances

master
ckolivas 11 years ago
parent
commit
1874d6e136
  1. 1
      src/ckpool.c

1
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");

Loading…
Cancel
Save