Check --pid even if not --daemonize.

This commit is contained in:
Daniel Nichter
2011-12-19 13:44:40 -07:00
parent 482875e330
commit 650641b052

View File

@@ -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