From: intrigeri Date: Fri, 15 Jun 2012 18:27:01 +0000 (+0200) Subject: rsync: stop passing $excludes as a single argument. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1b48bc44445cba33a748bb8ad2833d7e2187d1ad;p=backupninja.git rsync: stop passing $excludes as a single argument. --- diff --git a/handlers/rsync.in b/handlers/rsync.in index c584e7f..2620c47 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