mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-12 14:18:32 +00:00
Remove set -u from pt-mysql-summary and rm tmp dir last.
This commit is contained in:
@@ -22,8 +22,6 @@ usage() {
|
|||||||
# See https://launchpad.net/percona-toolkit for more information.
|
# See https://launchpad.net/percona-toolkit for more information.
|
||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
|
|
||||||
set -u
|
|
||||||
|
|
||||||
TMPDIR=""
|
TMPDIR=""
|
||||||
|
|
||||||
mk_tmpdir() {
|
mk_tmpdir() {
|
||||||
@@ -1318,10 +1316,11 @@ main() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
temp_files "rm"
|
temp_files "rm"
|
||||||
rm_tmpdir
|
|
||||||
|
|
||||||
# Make sure that we signal the end of the tool's output.
|
# Make sure that we signal the end of the tool's output.
|
||||||
section The_End
|
section The_End
|
||||||
|
|
||||||
|
rm_tmpdir
|
||||||
}
|
}
|
||||||
|
|
||||||
# Execute the program if it was not included from another file. This makes it
|
# Execute the program if it was not included from another file. This makes it
|
||||||
|
Reference in New Issue
Block a user