From: Silvio Rhatto Date: Mon, 30 May 2011 21:43:57 +0000 (-0300) Subject: Fixing $rsync_options output when rsync is local (Issue #3001) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9e7c186f022e3b92fc736dd1c2bae3f7dd677344;p=backupninja.git Fixing $rsync_options output when rsync is local (Issue #3001) --- 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