diff --git a/common.sh b/common.sh index 292f5a37fecafdd96172beaa73a6d1f4088bea06..cecbb9664215b43f1b73984083ca719f0b0e63ab 100644 --- a/common.sh +++ b/common.sh @@ -54,6 +54,10 @@ checkOutput() loadConf() { + # Exit at any error + set -o errexit + set -o pipefail + if [ $# -gt 1 -a -f "$1" ]; then conf=$(readlink -f "$1") elif [ -f "$PREFIX/"*.conf ]; then