mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-04 19:03:17 +00:00
Fix wrong arguments for Sync:appendFilter proxy function
This commit is contained in:
parent
9b81bb1785
commit
e09b58b721
@ -2509,15 +2509,17 @@ local Sync = ( function
|
||||
return self.excludes:add( pattern )
|
||||
end
|
||||
|
||||
--
|
||||
-- Appends a filter line to the Sync
|
||||
--
|
||||
local function appendFilter
|
||||
(
|
||||
self,
|
||||
rule,
|
||||
pattern
|
||||
line
|
||||
)
|
||||
if not self.filters then self.filters = Filters.new( ) end
|
||||
|
||||
return self.filters:append( rule, pattern )
|
||||
return self.filters:append( line )
|
||||
end
|
||||
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user