diff --git a/handlers/rsync.in b/handlers/rsync.in index c584e7f098b8e6112619a5ca52cc1a4ba551ee80..2620c471bb74d752964a194053afaadf52d1feaa 100644 --- a/handlers/rsync.in +++ b/handlers/rsync.in @@ -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