From 650641b052c80862fd4a81f794372f4252f125ff Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Mon, 19 Dec 2011 13:44:40 -0700 Subject: [PATCH] Check --pid even if not --daemonize. --- bin/pt-stalk | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/pt-stalk b/bin/pt-stalk index 2276307a..fc93ba23 100755 --- a/bin/pt-stalk +++ b/bin/pt-stalk @@ -957,6 +957,7 @@ if [ "$(basename "$0")" = "pt-stalk" ] \ # use $! to get the PID of the child we just forked. echo "$!" > $OPT_PID else + make_pid_file $OPT_PID $$ main "$@" fi fi