From b7c4fe437c5a26c03d97c0ec70d035da5e69ec48 Mon Sep 17 00:00:00 2001 From: Axel Kittenberger Date: Thu, 5 Jan 2017 10:29:38 +0100 Subject: [PATCH] typo --- lsyncd.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lsyncd.lua b/lsyncd.lua index 8608e99..f440e35 100644 --- a/lsyncd.lua +++ b/lsyncd.lua @@ -1285,7 +1285,7 @@ local InletFactory = ( function ) local p = getPath( event ) - if string.byte( path, 1 ) == 47 + if string.byte( p, 1 ) == 47 then p = string.sub( p, 2, -1 ) end @@ -1303,7 +1303,7 @@ local InletFactory = ( function ) local p = getPath( event ) - if string.byte( path, 1 ) == 47 + if string.byte( p, 1 ) == 47 then p = string.sub( p, 2, -1 ) end @@ -1321,7 +1321,7 @@ local InletFactory = ( function ) local p = getPath( event ) - if string.byte( path, 1 ) == 47 + if string.byte( p, 1 ) == 47 then p = string.sub( p, 2, -1 ) end