tools/catalyst-auto: Set pipefail to catch failure in verbose mode as well.

This commit is contained in:
Guy Martin 2014-04-15 13:07:03 +02:00
parent b933adcfb3
commit d203cfd8ba

View file

@ -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