mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 13:11:32 +00:00
Don't rm po before --help output.
This commit is contained in:
@@ -928,8 +928,12 @@ if [ "$(basename "$0")" = "pt-stalk" ] \
|
|||||||
# see if --daemonize was specified.
|
# see if --daemonize was specified.
|
||||||
mk_tmpdir
|
mk_tmpdir
|
||||||
parse_options $0 "$@"
|
parse_options $0 "$@"
|
||||||
|
usage_or_errors $0
|
||||||
|
po_status=$?
|
||||||
rm_tmpdir
|
rm_tmpdir
|
||||||
usage_or_errors $0 || exit $?
|
if [ $po_status -ne 0 ]; then
|
||||||
|
exit $po_status
|
||||||
|
fi
|
||||||
|
|
||||||
# Now that we have the cmd line opts, check that we can actually
|
# Now that we have the cmd line opts, check that we can actually
|
||||||
# connect to MySQL.
|
# connect to MySQL.
|
||||||
|
Reference in New Issue
Block a user