diff --git a/ChangeLog b/ChangeLog index 7ec8928..b2b593f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,8 +2,12 @@ enhancement: add rsync options: "chown", "omit-dir-times", + "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 diff --git a/default-rsync.lua b/default-rsync.lua index d51dc9e..0af6acd 100644 --- a/default-rsync.lua +++ b/default-rsync.lua @@ -123,8 +123,7 @@ rsync.action = function( inlet ) return p: gsub( '%?', '\\?' ): gsub( '%*', '\\*' ): - gsub( '%[', '\\[' ): - gsub( '%]', '\\]' ) + gsub( '%[', '\\[' ) end --