From: Tobias Brunner Date: Wed, 8 May 2019 12:36:27 +0000 (+0200) Subject: testing: Return an error if any command in the certificate build script fails X-Git-Tag: 5.8.0rc1~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27f6d37544613e8d813eae908fc192d6423758b6;p=thirdparty%2Fstrongswan.git testing: Return an error if any command in the certificate build script fails --- diff --git a/testing/scripts/build-certs-chroot b/testing/scripts/build-certs-chroot index 36cb617793..ed8de79add 100755 --- a/testing/scripts/build-certs-chroot +++ b/testing/scripts/build-certs-chroot @@ -1,5 +1,7 @@ #!/bin/bash +set -o errexit + echo "Building certificates" # Disable leak detective when using pki as it produces warnings in tzset