]> gitweb.fluxo.info Git - backupninja.git/commitdiff
Updating pipefail branch so it can merge with master (#3892) bug/3892
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 15 May 2012 13:00:45 +0000 (10:00 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 15 May 2012 13:00:45 +0000 (10:00 -0300)
1  2 
handlers/rsync.in

index 1f7fb4d4240b4414683e6a96081f14277d75d061,2d00267dc4d14e4ee11621a05de9298517e53e1c..386255ea865b990fc8e0919b7ed160e37e0533ba
@@@ -1144,9 -1087,8 +1109,9 @@@ for SECTION in $include; d
    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
+   $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"