tools/catalyst-auto: Set pipefail to catch failure in verbose mode as well.
This commit is contained in:
parent
b933adcfb3
commit
d203cfd8ba
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@ verbose=0
|
||||||
keep_tmpdir=0
|
keep_tmpdir=0
|
||||||
testing=0
|
testing=0
|
||||||
|
|
||||||
|
# Set pipefail so that run_cmd returns the right value in $?
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
msg=$1
|
msg=$1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue