Let script fail if one command fail (#10945)

Motivation:

We should use `set -e` to ensure we fail the script if one command fails.

Modifications:

Add set -e to script

Result:

Fail fast
This commit is contained in:
Norman Maurer 2021-01-15 16:47:49 +01:00 committed by GitHub
parent 9a02832fdb
commit 342f52e813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -e
if [ "$#" -ne 1 ]; then
echo "Expected build log as argument"