From 102c619341920100a7a9e546e62e5c4dcdbbb5ac Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 30 May 2011 18:43:57 -0300 Subject: Fixing $rsync_options output when rsync is local (Issue #3001) --- handlers/rsync.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'handlers') diff --git a/handlers/rsync.in b/handlers/rsync.in index ba2b9b5..e253c5c 100644 --- a/handlers/rsync.in +++ b/handlers/rsync.in @@ -1113,8 +1113,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 fatal "Rsync error when trying to transfer $SECTION" -- cgit v1.2.3