diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ftpsync | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/ftpsync b/bin/ftpsync index c9543f8..c510f36 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -448,6 +448,9 @@ function mainroutine() { set -e fi + # Remove the Archive-Update-in-Progress file before we push our downstreams. + rm -f "${LOCK}" + if [ x${HUB} = "xtrue" ]; then # Only trigger slave mirrors if we had a push for stage2 or all if [ "xtruex" = "x${SYNCSTAGE2}x" ] || [ "xtruex" = "x${SYNCALL}x" ]; then @@ -462,6 +465,7 @@ function mainroutine() { hook $HOOK fi fi + # All done, lets call cleanup cleanup } |