Show file name when we cannot start due to previous process running.
authorGreg Sabino Mullane <greg@endpoint.com>
Fri, 19 Aug 2011 21:31:37 +0000 (17:31 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Fri, 19 Aug 2011 21:31:37 +0000 (17:31 -0400)
bucardo

diff --git a/bucardo b/bucardo
index 15653bd2a6bb931bbd32f40da4d66c869e7143b1..510b3f3f823a645d86b38b385e3c1f341d9a61b2 100755 (executable)
--- a/bucardo
+++ b/bucardo
@@ -861,7 +861,7 @@ sub start {
             warn qq{File "$PIDFILE" does not start with a PID!\n};
         }
         else {
-            $msg = "Cannot start, process $1 is already running\n";
+            $msg = "Cannot start, process $1 is already running (file=$PIDFILE)\n";
         }
         close $fh;