From 54a15954c9db7e6a7c3737acfa50d085d846a53a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Fri, 22 Mar 2013 14:53:22 +0200 Subject: [PATCH] Fixed syncing specific mirrors from sync-mirrors script. --- mirror/files/sync-mirrors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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