fix pacman-mirrors -i

This commit is contained in:
Bernhard Landauer 2017-03-03 16:40:43 +01:00
parent bceb3b5874
commit abf20aa45c

View File

@ -341,8 +341,8 @@ rank_mirrors() {
"unstable" "-" off 2>${BRANCH} "unstable" "-" off 2>${BRANCH}
clear clear
if [[ ! -z "$(cat ${BRANCH})" ]]; then if [[ ! -z "$(cat ${BRANCH})" ]]; then
pacman-mirrors -gib "$(cat ${BRANCH})" 2>$ERR pacman-mirrors -gib "$(cat ${BRANCH})"
check_for_error "$FUNCNAME branch $(cat ${BRANCH})" $? check_for_error "$FUNCNAME branch $(cat ${BRANCH})"
fi fi
} }