Fixed syncing specific mirrors from sync-mirrors script.

This commit is contained in:
Timo Mkinen 2013-03-22 14:53:22 +02:00
parent 78b333cf6c
commit 54a15954c9

View file

@ -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