From dd604ee0d2ad2a6d06aed3171fddabbd3865245b Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Fri, 1 Jan 2010 21:25:30 +0100 Subject: complain if we run into timeout Signed-off-by: Joerg Jaspert --- bin/runmirrors | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') diff --git a/bin/runmirrors b/bin/runmirrors index c43cf90..5b04ecb 100755 --- a/bin/runmirrors +++ b/bin/runmirrors @@ -271,6 +271,10 @@ if [ "xtruex" = "x${FROMFTPSYNC}x" ] && [ "xmhopx" = "x${PUSHKIND}x" ]; then tries=$((tries + 5)) sleep 5 done + + if [ ${tries} -ge ${PUSHDELAY} ]; then + error "Failed to wait for our mirrors when sending mhop push down." >> ${LOG} + fi fi HOOK=( -- cgit v1.2.3