Set pipefail in kolla_mariadb_backup.sh

Without this, a failure in mariabackup would be ignored due to the pipe
to gzip.

Change-Id: I84536b302991e8fb04d5fa67ea266bc428437ce1
Related-Bug: #1843043
This commit is contained in:
Mark Goddard 2019-10-25 12:33:01 +01:00
parent 2e908723ac
commit 88f374c914
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash
set -eu
set -o pipefail
# Execute a full backup
backup_full() {