Exit with error count

This commit is contained in:
Zach Borboa
2016-08-19 00:06:55 -07:00
parent 258593be2f
commit 400cf8b0a2
+1 -5
View File
@@ -101,8 +101,4 @@ if [[ ! -z "${elseif}" ]]; then
((errors++))
fi
if [ $errors -eq 0 ]; then
exit 0
else
exit 1
fi
exit "${errors}"