From: Silvio Rhatto Date: Mon, 30 May 2011 21:38:50 +0000 (-0300) Subject: Fixing $rsync_options output (Issue #3001) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3ae23af64030650f09d4ab115bb7008695aedc1c;p=backupninja.git Fixing $rsync_options output (Issue #3001) --- 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"