Merge remote-tracking branch 'origin/pr/583'

fixes #583
This commit is contained in:
Daniel Poelzleithner 2021-12-06 20:31:12 +01:00
commit bb247e0267
1 changed files with 11 additions and 0 deletions

View File

@ -553,6 +553,17 @@ rsyncssh.prepare = function
computed[ computedN ] = v
computedN = computedN + 1
if not config.rsync._rshIndex
then
config.rsync._rshIndex = #rsyncc + 1
rsyncc[ config.rsync._rshIndex ] = '--rsh=ssh'
end
rsyncc[ config.rsync._rshIndex ] =
rsyncc[ config.rsync._rshIndex ] .. ' ' .. v
end
end