From 4ecb996909032263bb2a44ee5bcdb38a6e04c51d Mon Sep 17 00:00:00 2001 From: Andrew Bettison Date: Mon, 8 Oct 2012 14:56:55 +1030 Subject: [PATCH] Issue #21, INFO message on unlink a stale pidfile --- server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server.c b/server.c index a47e4c8f..e9631845 100644 --- a/server.c +++ b/server.c @@ -78,6 +78,7 @@ int server_pid() int pid = atoi(buf); if (pid > 0 && kill(pid, 0) != -1) return pid; + INFOF("Unlinking stale pidfile %s", filename); unlink(filename); } return 0;