Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
Test scripts should fail fast by default
Browse files Browse the repository at this point in the history
Use `sh -e` to ensure it.
  • Loading branch information
messense committed Oct 21, 2016
1 parent 7108c5b commit caa01f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion badwolf/templates/script.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set +e
echo {{ command }} | base64 --decode | /bin/sh
echo {{ command }} | base64 --decode | /bin/sh -e
SCRIPT_EXIT_CODE=$?
set -e
{% if after_success -%}
Expand Down

0 comments on commit caa01f5

Please sign in to comment.