From 3ae23af64030650f09d4ab115bb7008695aedc1c Mon Sep 17 00:00:00 2001
From: Silvio Rhatto <rhatto@riseup.net>
Date: Mon, 30 May 2011 18:38:50 -0300
Subject: [PATCH] Fixing $rsync_options output (Issue #3001)

---
 handlers/rsync.in | 4 ++--
 1 file 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"
-- 
GitLab