mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-13 14:43:09 +00:00
fix parameter handling for rsync options
This commit is contained in:
parent
848f6e1f06
commit
e116ce0a6e
@ -50,6 +50,7 @@ rsync.checkgauge = {
|
||||
rsync = {
|
||||
-- rsync binary
|
||||
binary = true,
|
||||
_extra = true,
|
||||
|
||||
-- rsync shortflags
|
||||
verbose = true,
|
||||
@ -461,17 +462,17 @@ rsync.prepare = function(
|
||||
end
|
||||
|
||||
if crsync.rsh then
|
||||
computed[ computedN ] = '--rsh=' + crsync.rsh
|
||||
computed[ computedN ] = '--rsh='..crsync.rsh
|
||||
computedN = computedN + 1
|
||||
end
|
||||
|
||||
if crsync.rsync_path then
|
||||
computed[ computedN ] = '--rsync-path=' + crsync.rsync_path
|
||||
computed[ computedN ] = '--rsync-path='..crsync.rsync_path
|
||||
computedN = computedN + 1
|
||||
end
|
||||
|
||||
if crsync.temp_dir then
|
||||
computed[ computedN ] = '--temp-dir=' + crsync.temp_dir
|
||||
computed[ computedN ] = '--temp-dir='..crsync.temp_dir
|
||||
computedN = computedN + 1
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user