From: Silvio Rhatto Date: Mon, 27 Feb 2012 20:17:56 +0000 (-0300) Subject: Force rsync handler run bash at the remote destination (upstream #3003) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=refs%2Fheads%2Fbug%2F3003;p=backupninja.git Force rsync handler run bash at the remote destination (upstream #3003) --- 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 {