]> gitweb.fluxo.info Git - backupninja.git/commitdiff
Fixing $rsync_options output (Issue #3001)
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 30 May 2011 21:38:50 +0000 (18:38 -0300)
committerintrigeri <intrigeri@boum.org>
Wed, 17 Aug 2011 17:28:35 +0000 (19:28 +0200)
handlers/rsync.in

index 567f8a751e3fa5392dd9572ff9863f8cb24c8afa..6c772e111e9923c4fea08d127cd257e805fa96b6 100644 (file)
@@ -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"