testing: Return an error if any command in the certificate build script fails
authorTobias Brunner <tobias@strongswan.org>
Wed, 8 May 2019 12:36:27 +0000 (14:36 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 8 May 2019 12:56:48 +0000 (14:56 +0200)
testing/scripts/build-certs-chroot

index 36cb617..ed8de79 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+set -o errexit
+
 echo "Building certificates"
 
 # Disable leak detective when using pki as it produces warnings in tzset