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