mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 04:59:04 +00:00
Check --pid even if not --daemonize.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user