diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-09-16 14:03:17 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-09-16 14:03:17 +0200 |
commit | 7e29c1b53968914f42300a7f628088b99601f4db (patch) | |
tree | d9b55e33bd83a02251cd8a3fe560ef149c7b21ca /scripts | |
parent | 1e3e81a6c9971a56c94086227aa438d133172863 (diff) | |
parent | 33656e042dc7e983c9612a011fdef64a8dd40aa1 (diff) | |
download | mariadb-git-7e29c1b53968914f42300a7f628088b99601f4db.tar.gz |
5.5 merge
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mysqlhotcopy.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mysqlhotcopy.sh b/scripts/mysqlhotcopy.sh index 1ef743725e5..b6ff7e1b28d 100644 --- a/scripts/mysqlhotcopy.sh +++ b/scripts/mysqlhotcopy.sh @@ -56,6 +56,9 @@ WARNING: THIS PROGRAM IS STILL IN BETA. Comments/patches welcome. # Documentation continued at end of file +# fix CORE::GLOBAL::die to return a predictable exit code +BEGIN { *CORE::GLOBAL::die= sub { warn @_; exit 1; }; } + my $VERSION = "1.23"; my $opt_tmpdir = $ENV{TMPDIR} || "/tmp"; |