Skip to content

Commit 740e265

Browse files
committed
Fail the setup script on an error
1 parent 1951321 commit 740e265

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/github/setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#then echo skipping setup ; exit 0
2121
#fi
2222

23+
set -e
24+
2325
# retries a command for five times and exits with the non-zero exit if even after
2426
# the retries the command did not succeed.
2527
function retry() {

0 commit comments

Comments
 (0)