mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-04 23:06:53 +00:00
Exit with error count
This commit is contained in:
+1
-5
@@ -101,8 +101,4 @@ if [[ ! -z "${elseif}" ]]; then
|
||||
((errors++))
|
||||
fi
|
||||
|
||||
if [ $errors -eq 0 ]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
exit "${errors}"
|
||||
|
||||
Reference in New Issue
Block a user