From 08326b2d0950cb0a31de215bcee27aa070ec3a1f Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 12 May 2014 23:04:00 +1000 Subject: [PATCH] More explicit message --- src/ckpool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ckpool.c b/src/ckpool.c index a0ef18f3..1f82fa17 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -87,7 +87,8 @@ static bool write_pid(ckpool_t *ckp, const char *path, pid_t pid) fclose(fp); if (ret == 1 && !(kill(oldpid, 0))) { 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; } if (kill(oldpid, 9)) {