mirror of https://github.com/octoleo/lsyncd.git
allow false values to be inherited
This commit is contained in:
parent
a9eab69298
commit
851280af4f
|
@ -1484,7 +1484,7 @@ local Syncs = (function()
|
|||
-- first copies from source all
|
||||
-- non-defined non-integer keyed values
|
||||
for k, v in pairs(cs) do
|
||||
if type(k) ~= "number" and not cd[k] then
|
||||
if type(k) ~= "number" and cd[k] == nil then
|
||||
cd[k] = v
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue