diff --git a/git-mirror.sh b/git-mirror.sh index 02ee37d..6631ddd 100755 --- a/git-mirror.sh +++ b/git-mirror.sh @@ -82,7 +82,8 @@ for branchspec in "${branches[@]}"; do done done -if [[ "${#errors[*]}" -ge 0 ]]; then +echo +if [[ "${#errors[*]}" -gt 0 ]]; then echo "Errors:" echo "${errors[@]}" else