aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-05-30 18:43:57 -0300
committerintrigeri <intrigeri@boum.org>2012-02-26 13:51:24 +0100
commit102c619341920100a7a9e546e62e5c4dcdbbb5ac (patch)
tree766e4b1ba94f8f8b804eb8c1cc6007bd800e6f8c
parent3a94e3bc59e5592da73144668396ec8e3463e1fd (diff)
downloadbackupninja-102c619341920100a7a9e546e62e5c4dcdbbb5ac.tar.gz
backupninja-102c619341920100a7a9e546e62e5c4dcdbbb5ac.tar.bz2
Fixing $rsync_options output when rsync is local (Issue #3001)
-rw-r--r--handlers/rsync.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/rsync.in b/handlers/rsync.in
index ba2b9b5..e253c5c 100644
--- a/handlers/rsync.in
+++ b/handlers/rsync.in
@@ -1113,8 +1113,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
fatal "Rsync error when trying to transfer $SECTION"