aboutsummaryrefslogtreecommitdiff
path: root/handlers/rsync.in
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-05-30 18:38:50 -0300
committerintrigeri <intrigeri@boum.org>2011-08-17 19:28:35 +0200
commit3ae23af64030650f09d4ab115bb7008695aedc1c (patch)
tree42862461dd1ab29b0b52596a7eecf55e91b34de4 /handlers/rsync.in
parent9e7c186f022e3b92fc736dd1c2bae3f7dd677344 (diff)
downloadbackupninja-3ae23af64030650f09d4ab115bb7008695aedc1c.tar.gz
backupninja-3ae23af64030650f09d4ab115bb7008695aedc1c.tar.bz2
Fixing $rsync_options output (Issue #3001)
Diffstat (limited to 'handlers/rsync.in')
-rw-r--r--handlers/rsync.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/rsync.in b/handlers/rsync.in
index 567f8a7..6c772e1 100644
--- a/handlers/rsync.in
+++ b/handlers/rsync.in
@@ -1070,8 +1070,8 @@ for SECTION in $include; do
set_dest
info "Syncing $SECTION on $dest_path..."
- debug $nice $rsync "${rsync_options[@]}" $filelist_flag $excludes $batch_option $orig $dest_path
- $nice $rsync "${rsync_options[@]}" $filelist_flag $excludes $batch_option $orig $dest_path | tee -a $log
+ debug $nice $rsync $rsync_options $filelist_flag $excludes $batch_option $orig $dest_path
+ $nice $rsync $rsync_options $filelist_flag $excludes $batch_option $orig $dest_path | tee -a $log
if [ "$?" != "0" ]; then
warning "Rsync error when trying to transfer $SECTION"