diff --git a/handlers/rsync.in b/handlers/rsync.in index 567f8a751e3fa5392dd9572ff9863f8cb24c8afa..6c772e111e9923c4fea08d127cd257e805fa96b6 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"