Skip to content

Commit a3771b5

Browse files
supertylercantonbabenko
authored andcommitted
fix check for errors at the end (#35)
1 parent 2c842d9 commit a3771b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform_validate_with_variables.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ for path_uniq in $(echo "${paths[*]}" | tr ' ' '\n' | sort -u); do
2727
popd > /dev/null
2828
done
2929

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

0 commit comments

Comments
 (0)