mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-10-31 18:52:29 +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/lrsync.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
|
||||
EXTRA_DIST = doc/lsyncd.1.txt doc/lsyncd.1.xml
|
||||
|
@ -2701,7 +2701,7 @@ function runner.initialize()
|
||||
lockGlobals()
|
||||
|
||||
-- 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
|
||||
log("Error", "Double setting '"..v.."'")
|
||||
os.exit(-1) -- ERRNO
|
||||
|
Loading…
Reference in New Issue
Block a user