diff options
author | Peter Palfrader <peter@palfrader.org> | 2016-01-06 16:09:30 +0100 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2016-01-06 16:09:30 +0100 |
commit | df623e9f292c88386b69f7e497dd7276575b03d4 (patch) | |
tree | 64d2c0fce75481822016fb3fc99cb7aa0e55520f /bin | |
parent | 4097a85af45eac034a32431aabc3a5e4197eaf15 (diff) |
remove stage1 tracefile on all sync
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ftpsync | 3 |
1 files changed, 3 insertions, 0 deletions
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 |