From b99efe807167c5c6242b3ccbfb8baed55f823215 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 25 Sep 2014 22:58:10 +1000 Subject: [PATCH] Give listener response to restart request --- src/ckpool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ckpool.c b/src/ckpool.c index acd3ec50..17bd20e1 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -274,6 +274,7 @@ retry: } else LOGWARNING("Failed to send_procmsg to connector"); } else if (cmdmatch(buf, "restart")) { + send_unix_msg(sockd, "restarting"); if (!fork()) { if (!ckp->handover) { ckp->initial_args[ckp->args++] = strdup("-H");