Browse Source

Add console warning on restart

master
Con Kolivas 10 years ago
parent
commit
b44a347e97
  1. 1
      src/ckpool.c

1
src/ckpool.c

@ -274,6 +274,7 @@ retry:
} else } else
LOGWARNING("Failed to send_procmsg to connector"); LOGWARNING("Failed to send_procmsg to connector");
} else if (cmdmatch(buf, "restart")) { } else if (cmdmatch(buf, "restart")) {
LOGWARNING("Listener received restart message, attempting handover");
send_unix_msg(sockd, "restarting"); send_unix_msg(sockd, "restarting");
if (!fork()) { if (!fork()) {
if (!ckp->handover) { if (!ckp->handover) {

Loading…
Cancel
Save