From df623e9f292c88386b69f7e497dd7276575b03d4 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 6 Jan 2016 16:09:30 +0100 Subject: remove stage1 tracefile on all sync --- bin/ftpsync | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/ftpsync b/bin/ftpsync index 60e711b..aa7b99d 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -678,6 +678,9 @@ done # Otherwise we would update it after stage1 already, which is wrong. if [[ true = ${SYNCSTAGE2} ]] || [[ true = ${SYNCALL} ]]; then tracefile + if [[ true = ${SYNCALL} ]]; then + rm -f "${TO}/${TRACE}-stage1" + fi elif [[ true = ${SYNCSTAGE1} ]]; then tracefile "${TO}/${TRACE}-stage1" fi -- cgit v1.2.3