Fixing $rsync_options output (Issue #3001)

This commit is contained in:
Silvio Rhatto 2011-05-30 18:38:50 -03:00 committed by intrigeri
parent 9e7c186f02
commit 3ae23af640

View 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"