diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/runmirrors | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/runmirrors b/bin/runmirrors index 57709b5..49b194b 100755 --- a/bin/runmirrors +++ b/bin/runmirrors @@ -94,6 +94,9 @@ egrep -v '^[[:space:]]*(#|$)' "${MIRRORS}" | while read MTYPE MLNAME MHOSTNAME MUSER MPROTO MKEYFILE; do if [ "x${MTYPE}x" = "xDELAYx" ]; then # We should wait a bit. + if [ -z ${MLNAME} ]; then + MLNAME=60 + fi log "Delay of ${MLNAME} requested, sleeping" >> "${LOG}" sleep ${MLNAME} continue |