From d213b86389ee6425cd4f51ea63e68eea1c9bb988 Mon Sep 17 00:00:00 2001 From: Raphael Geissert Date: Tue, 10 Jul 2012 00:46:31 -0500 Subject: Remove upstream's AUIP file to avoid a deadlock --- bin/ftpsync | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/ftpsync b/bin/ftpsync index b72b435..951aed7 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -503,6 +503,13 @@ while [ -e "${UPDATEREQUIRED}" ]; do : ;; *) + if [ -f "$aupfile" ]; then + # Remove the file, it will be synced again if + # upstream is still not done + rm -f "$aupfile" + else + log "AUIP file '$aupfile' is not really a file, weird" + fi upstream_uip=true ;; esac -- cgit v1.2.3