Fix cosmetic error reporting bug

This commit is contained in:
Midgard 2019-11-06 13:55:51 +01:00
parent 9a44b6d140
commit 20a088e96d
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -82,7 +82,8 @@ for branchspec in "${branches[@]}"; do
done done
done done
if [[ "${#errors[*]}" -ge 0 ]]; then echo
if [[ "${#errors[*]}" -gt 0 ]]; then
echo "Errors:" echo "Errors:"
echo "${errors[@]}" echo "${errors[@]}"
else else