diff options
-rwxr-xr-x | ssync | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -70,7 +70,8 @@ if [ $COUNT -gt 0 ]; then -av \ $REMOTE:"${REMOTE_DIR}/'{}'" ${SRC_DIR} else - log "No files to sync" + log "No files to sync - deleting $CURGET_FILE" + rm -f $CURGET_FILE fi echo $NEXT_RUN_DATE > $LASTRAN_FILE |