19215: Add -o pipefail to installer.sh
authorPeter Amstutz <peter.amstutz@curii.com>
Fri, 2 Dec 2022 17:11:09 +0000 (12:11 -0500)
committerPeter Amstutz <peter.amstutz@curii.com>
Fri, 2 Dec 2022 17:11:54 +0000 (12:11 -0500)
This avoids having "| tee" suppress errors that should have caused the
script to stop.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

tools/salt-install/installer.sh

index 5f6e7a038182a1b3c2c66834de28cc2a00430761..eae79c61414eecb5772d21af30491236eb77b125 100755 (executable)
@@ -14,6 +14,7 @@
 #
 
 set -eu
+set -o pipefail
 
 # The parameter file
 declare CONFIG_FILE=local.params