libs/uci: Cursor.delete_all: fix logical condition
This commit is contained in:
parent
00026ef79d
commit
56ccdb78fa
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ function Cursor.delete_all(self, config, stype, comparator)
|
||||||
local tbl = comparator
|
local tbl = comparator
|
||||||
comparator = function(section)
|
comparator = function(section)
|
||||||
for k, v in pairs(tbl) do
|
for k, v in pairs(tbl) do
|
||||||
if not section[k] == v then
|
if section[k] ~= v then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue