mirror of
https://github.com/octoleo/lsyncd.git
synced 2025-01-07 09:04:05 +00:00
commit
bb247e0267
@ -553,6 +553,17 @@ rsyncssh.prepare = function
|
|||||||
computed[ computedN ] = v
|
computed[ computedN ] = v
|
||||||
|
|
||||||
computedN = computedN + 1
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user