Skip to content

Commit

Permalink
fix check for errors at the end (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
supertylerc authored and antonbabenko committed Mar 1, 2019
1 parent 2c842d9 commit a3771b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform_validate_with_variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ for path_uniq in $(echo "${paths[*]}" | tr ' ' '\n' | sort -u); do
popd > /dev/null
done

if [[ -n "${error}" ]] ; then
if [[ "${error}" -ne 0 ]] ; then
exit 1
fi

0 comments on commit a3771b5

Please sign in to comment.