mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
fix check for errors at the end (#35)
This commit is contained in:
parent
2c842d9461
commit
a3771b5119
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue