fixing files with only ] as special char in their name

This commit is contained in:
Axel Kittenberger 2016-06-27 09:26:45 +02:00
parent 60d84c3ea1
commit 315379072c
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,11 @@
??-??-????:
enhancement: add rsync options: "omit-dir-times" and "omit-link-times"
enhancement: add rsync options:
"omit-dir-times"
"omit-link-times"
change: _verbatim forced for 'exitcodes' entry.
fix: ']' is not escaped for rsync rules, since rsync only applies
doesn't applie pattern matching if no other pattern chars
are found.
15-10-2015: 2.1.6
enhancement: Lsyncd now locks its pidfile

View File

@ -122,8 +122,7 @@ rsync.action = function( inlet )
return p:
gsub( '%?', '\\?' ):
gsub( '%*', '\\*' ):
gsub( '%[', '\\[' ):
gsub( '%]', '\\]' )
gsub( '%[', '\\[' )
end
--