Browse Source

More explicit message

master
Con Kolivas 11 years ago
parent
commit
08326b2d09
  1. 3
      src/ckpool.c

3
src/ckpool.c

@ -87,7 +87,8 @@ static bool write_pid(ckpool_t *ckp, const char *path, pid_t pid)
fclose(fp); fclose(fp);
if (ret == 1 && !(kill(oldpid, 0))) { if (ret == 1 && !(kill(oldpid, 0))) {
if (!ckp->killold) { if (!ckp->killold) {
LOGEMERG("Process %s pid %d still exists", path, oldpid); LOGEMERG("Process %s pid %d still exists, start ckpool with -k if you wish to kill it",
path, oldpid);
return false; return false;
} }
if (kill(oldpid, 9)) { if (kill(oldpid, 9)) {

Loading…
Cancel
Save