]> gitweb.fluxo.info Git - backupninja.git/commitdiff
Force rsync handler run bash at the remote destination (upstream #3003) bug/3003
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 27 Feb 2012 20:17:56 +0000 (17:17 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 27 Feb 2012 20:17:56 +0000 (17:17 -0300)
handlers/rsync.in

index e253c5cb34f86e95e6ea3a6404665ea5628b8412..81bd5b42f8070c17b3752ea36c5f5b1c7a8dcb55 100644 (file)
@@ -281,6 +281,9 @@ function eval_config {
     excludes="$excludes --exclude=$path"
   done
 
+  # Make sure we'll run bash at the destination
+  ssh_cmd="$ssh_cmd /bin/bash"
+
 }
 
 function rotate_short {