mirror of
https://github.com/octoleo/lsyncd.git
synced 2025-01-22 14:48:29 +00:00
accept default values for rsyncOpts as overrideable by rsyncOps
This commit is contained in:
parent
1ebbc229f3
commit
eb6df1bed4
@ -3294,7 +3294,7 @@ local default_rsync = {
|
||||
end
|
||||
|
||||
if config.rsyncOps then
|
||||
if config.rsyncOpts then
|
||||
if config.rsyncOpts ~= "-lts" then
|
||||
error("'rsyncOpts' and 'rsyncOps' provided in config, decide for one.")
|
||||
end
|
||||
config.rsyncOpts = config.rsyncOps
|
||||
@ -3514,7 +3514,7 @@ local default_rsyncssh = {
|
||||
--
|
||||
prepare = function(config)
|
||||
if config.rsyncOps then
|
||||
if config.rsyncOpts then
|
||||
if config.rsyncOpts ~= "-lts" then
|
||||
error("'rsyncOpts' and 'rsyncOps' provided in config, decide for one.")
|
||||
end
|
||||
config.rsyncOpts = config.rsyncOps
|
||||
|
Loading…
x
Reference in New Issue
Block a user