summaryrefslogtreecommitdiff
path: root/ssync
diff options
context:
space:
mode:
Diffstat (limited to 'ssync')
-rwxr-xr-xssync3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssync b/ssync
index d1962dc..622c3cd 100755
--- a/ssync
+++ b/ssync
@@ -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