]> gitweb.fluxo.info Git - backupninja.git/commitdiff
Fixing $rsync_options output when rsync is local (Issue #3001)
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 30 May 2011 21:43:57 +0000 (18:43 -0300)
committerintrigeri <intrigeri@boum.org>
Wed, 17 Aug 2011 17:27:59 +0000 (19:27 +0200)
handlers/rsync.in

index d93411a7cdd7255578529a96cf08aff629c2f435..567f8a751e3fa5392dd9572ff9863f8cb24c8afa 100644 (file)
@@ -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