diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-02-27 17:17:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-02-27 17:17:56 -0300 |
commit | 33f330c0a3f6014af14e3c41f7dcc728f86c54b8 (patch) | |
tree | 95b33fd79f8daa9fef15ed7b25d45b7ebe4b21b8 /handlers | |
parent | 1f367b40cdb0c790b9c3a1e45fceb4ee79e93c31 (diff) | |
download | backupninja-bug/3003.tar.gz backupninja-bug/3003.tar.bz2 |
Force rsync handler run bash at the remote destination (upstream #3003)bug/3003
Diffstat (limited to 'handlers')
-rw-r--r-- | handlers/rsync.in | 3 |
1 files changed, 3 insertions, 0 deletions
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 { |