summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xssync3
1 files changed, 1 insertions, 2 deletions
diff --git a/ssync b/ssync
index b50ded2..4067001 100755
--- a/ssync
+++ b/ssync
@@ -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"