diff options
author | Joerg Jaspert <joerg@debian.org> | 2010-01-01 21:25:30 +0100 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2010-01-01 21:25:30 +0100 |
commit | dd604ee0d2ad2a6d06aed3171fddabbd3865245b (patch) | |
tree | 2177ed4a9c38c92186d1538a7d162b5f0dd3b4af /bin/runmirrors | |
parent | 0e0304ab618fefcac1983ab865816cd8985d9ac2 (diff) |
complain if we run into timeout
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin/runmirrors')
-rwxr-xr-x | bin/runmirrors | 4 |
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=( |