mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-06-05 01:40:50 +00:00
used wrong i/pairs
This commit is contained in:
parent
ad1392691c
commit
1ada13486e
|
@ -22,7 +22,10 @@ dist_example_DATA = \
|
||||||
examples/limagemagic.lua \
|
examples/limagemagic.lua \
|
||||||
examples/lrsync.lua \
|
examples/lrsync.lua \
|
||||||
examples/lrsyncssh.lua
|
examples/lrsyncssh.lua
|
||||||
TESTS = tests/l4-rsync-data.sh
|
TESTS = \
|
||||||
|
tests/churn-rsync.lua \
|
||||||
|
tests/churn-rsyncssh.lua \
|
||||||
|
tests/l4rsyncdata.lua
|
||||||
|
|
||||||
dist_man1_MANS = doc/lsyncd.1
|
dist_man1_MANS = doc/lsyncd.1
|
||||||
EXTRA_DIST = doc/lsyncd.1.txt doc/lsyncd.1.xml
|
EXTRA_DIST = doc/lsyncd.1.txt doc/lsyncd.1.xml
|
||||||
|
|
|
@ -2701,7 +2701,7 @@ function runner.initialize()
|
||||||
lockGlobals()
|
lockGlobals()
|
||||||
|
|
||||||
-- copies simple settings with numeric keys to "key=true" settings.
|
-- copies simple settings with numeric keys to "key=true" settings.
|
||||||
for k, v in pairs(settings) do
|
for k, v in ipairs(settings) do
|
||||||
if settings[v] then
|
if settings[v] then
|
||||||
log("Error", "Double setting '"..v.."'")
|
log("Error", "Double setting '"..v.."'")
|
||||||
os.exit(-1) -- ERRNO
|
os.exit(-1) -- ERRNO
|
||||||
|
|
Loading…
Reference in New Issue
Block a user