From 02812c068cd9f7eae1e73e32e65a256f72ef499b Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Thu, 2 Feb 2012 08:46:31 -0700 Subject: [PATCH] Remove set -u from pt-mysql-summary and rm tmp dir last. --- bin/pt-mysql-summary | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/pt-mysql-summary b/bin/pt-mysql-summary index 441fb3af..4b401bbc 100755 --- a/bin/pt-mysql-summary +++ b/bin/pt-mysql-summary @@ -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