diff options
Diffstat (limited to 'sync/sink')
-rwxr-xr-x | sync/sink | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ printerror() { echo -n "$BOLD$RED[An error occured while syncing $SYNCNAME]\n" sync() { [ $oper = "up" ] && SYNCNAME="$1$2 to $rdest$2" || SYNCNAME="$rdest$2 to $1$2" printsyncmsg - (if [ $oper = "up" ]; then rsync $ropts $1$2 $rdest; else rsync $ropts $rdest$2 $1; fi) \ + (if [ $oper = "up" ]; then rsync $ropts $1$2 $rdest; else rsync $ropts --delete $rdest$2 $1; fi) \ && printsuccess || printerror } |