diff --git a/mirror/files/sync-mirrors b/mirror/files/sync-mirrors index 52f6fbf..be66dd1 100755 --- a/mirror/files/sync-mirrors +++ b/mirror/files/sync-mirrors @@ -46,7 +46,7 @@ done shift `expr $OPTIND - 1` if [ $# -gt 0 ]; then - while true ; do + for mirror in $* ; do if [ ! -f ${CONFDIR}/$1.conf ]; then echo "ERR: No mirror named [$1]" 1>&2 exit 1