for #1235: Use `set -euo pipefail` instead of `set -e`

As per @horazont's feedback: `-u` shouts at you if you use an undefined variable (very useful to catch typos)
and `-o pipefail` improves error handling by also failing if any of the commands in a pipe fail.
This commit is contained in:
Guus der Kinderen 2022-11-06 09:29:18 +01:00
parent a7149be8c0
commit d65a5b4c2f
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
#
# requires: bash, xmllint
set -e
set -euo pipefail
VALIDATION_RESULT=0