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