adding custom ssh port to rsync calls as well

This commit is contained in:
Axel Kittenberger 2012-11-23 16:05:15 +01:00
parent 824797645b
commit 5b7057bfd7

View File

@ -304,6 +304,9 @@ rsyncssh.prepare = function( config, level )
computed[ computedN ] = '-p'
computed[ computedN + 1 ] = cssh.port
computedN = computedN + 2
local rsyncc = config.rsync._computed
rsyncc[ #rsyncc ] = '--rsh=ssh -p ' .. cssh.port
end
-- appends a slash to the targetdir if missing