diff --git a/lib/util.sh b/lib/util.sh index e6079e5..901597d 100644 --- a/lib/util.sh +++ b/lib/util.sh @@ -340,10 +340,10 @@ rank_mirrors() { "testing" "-" off \ "unstable" "-" off 2>${BRANCH} clear - [[ ! -z "$(cat ${BRANCH})" ]] && { + if [[ ! -z "$(cat ${BRANCH})" ]]; then pacman-mirrors -gib "$(cat ${BRANCH})" 2>$ERR check_for_error "$FUNCNAME branch $(cat ${BRANCH})" $? - } + fi } # Simple code to show devices / partitions.