Remove set -u from pt-mysql-summary and rm tmp dir last.

This commit is contained in:
Daniel Nichter
2012-02-02 08:46:31 -07:00
parent e64f23a2e3
commit 02812c068c

View File

@@ -22,8 +22,6 @@ usage() {
# See https://launchpad.net/percona-toolkit for more information.
# ###########################################################################
set -u
TMPDIR=""
mk_tmpdir() {
@@ -1318,10 +1316,11 @@ main() {
fi
temp_files "rm"
rm_tmpdir
# Make sure that we signal the end of the tool's output.
section The_End
rm_tmpdir
}
# Execute the program if it was not included from another file. This makes it