fix check for errors at the end (#35)

This commit is contained in:
Tyler Christiansen 2019-03-01 00:48:50 -08:00 committed by Anton Babenko
commit a3771b5119

View file

@ -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