summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-11-12 16:55:44 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-11-12 16:55:44 +0200
commit33cb10d4e9793d1b6800be22e8eb9ceffdd8af4a (patch)
tree19de2029cc51b44d05e2253681ec6e8cf8d229c6 /scripts
parente5f99a0c0ccbb6cbf4a816fed552af9c20cc32e9 (diff)
parent5098d708a07f90484c9e13fe3ab58113a8a10191 (diff)
downloadmariadb-git-33cb10d4e9793d1b6800be22e8eb9ceffdd8af4a.tar.gz
Merge 10.3 into 10.4
Diffstat (limited to 'scripts')
-rw-r--r--scripts/wsrep_sst_mariabackup.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/wsrep_sst_mariabackup.sh b/scripts/wsrep_sst_mariabackup.sh
index 36deeff779d..8d1a36561d3 100644
--- a/scripts/wsrep_sst_mariabackup.sh
+++ b/scripts/wsrep_sst_mariabackup.sh
@@ -83,7 +83,14 @@ fi
pcmd="pv $pvopts"
declare -a RC
+set +e
INNOBACKUPEX_BIN=$(which mariabackup)
+if test -z $INNOBACKUPEX_BIN
+then
+ wsrep_log_error 'mariabackup binary not found in $PATH'
+ exit 42
+fi
+set -e
XBSTREAM_BIN=mbstream
XBCRYPT_BIN=xbcrypt # Not available in MariaBackup