aboutsummaryrefslogtreecommitdiff
path: root/handlers/rsync.in
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-05-30 18:43:57 -0300
committerintrigeri <intrigeri@boum.org>2011-08-17 19:27:59 +0200
commit9e7c186f022e3b92fc736dd1c2bae3f7dd677344 (patch)
tree48f555a4bc4e37e690130c99ebd2f4b09e888a31 /handlers/rsync.in
parent7b57f84a92c9901054ba3148401521903f723fa9 (diff)
downloadbackupninja-9e7c186f022e3b92fc736dd1c2bae3f7dd677344.tar.gz
backupninja-9e7c186f022e3b92fc736dd1c2bae3f7dd677344.tar.bz2
Fixing $rsync_options output when rsync is local (Issue #3001)
Diffstat (limited to 'handlers/rsync.in')
-rw-r--r--handlers/rsync.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/rsync.in b/handlers/rsync.in
index d93411a..567f8a7 100644
--- a/handlers/rsync.in
+++ b/handlers/rsync.in
@@ -893,7 +893,7 @@ function set_rsync_options {
if [ "$from" == "local" ] || [ "$dest" == "local" ]; then
# rsync options for local sources or destinations
- rsync_options="$rsync_options"
+ rsync_options=($rsync_options)
fi
if [ "$from" == "remote" ] || [ "$dest" == "remote" ]; then