From 33f330c0a3f6014af14e3c41f7dcc728f86c54b8 Mon Sep 17 00:00:00 2001
From: Silvio Rhatto <rhatto@riseup.net>
Date: Mon, 27 Feb 2012 17:17:56 -0300
Subject: [PATCH] Force rsync handler run bash at the remote destination
 (upstream #3003)

---
 handlers/rsync.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/handlers/rsync.in b/handlers/rsync.in
index e253c5c..81bd5b4 100644
--- a/handlers/rsync.in
+++ b/handlers/rsync.in
@@ -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 {
-- 
GitLab