summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2010-01-01 21:25:30 +0100
committerJoerg Jaspert <joerg@debian.org>2010-01-01 21:25:30 +0100
commitdd604ee0d2ad2a6d06aed3171fddabbd3865245b (patch)
tree2177ed4a9c38c92186d1538a7d162b5f0dd3b4af
parent0e0304ab618fefcac1983ab865816cd8985d9ac2 (diff)
complain if we run into timeout
Signed-off-by: Joerg Jaspert <joerg@debian.org>
-rwxr-xr-xbin/runmirrors4
1 files changed, 4 insertions, 0 deletions
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=(