]> gitweb.fluxo.info Git - backupninja.git/commitdiff
rsync: stop passing $excludes as a single argument.
authorintrigeri <intrigeri@boum.org>
Fri, 15 Jun 2012 18:27:01 +0000 (20:27 +0200)
committerintrigeri <intrigeri@boum.org>
Fri, 15 Jun 2012 18:27:01 +0000 (20:27 +0200)
handlers/rsync.in

index c584e7f098b8e6112619a5ca52cc1a4ba551ee80..2620c471bb74d752964a194053afaadf52d1feaa 100644 (file)
@@ -1116,7 +1116,7 @@ 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
+  debug $nice $rsync "${rsync_options[@]}" $filelist_flag $excludes $batch_option $orig $dest_path
   set_pipefail
   $nice $rsync "${rsync_options[@]}" $filelist_flag "$excludes" $batch_option $orig $dest_path | tee -a $log