projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00026ef
)
libs/uci: Cursor.delete_all: fix logical condition
author
Steven Barth
<steven@midlink.org>
Sun, 14 Sep 2008 19:00:52 +0000
(19:00 +0000)
committer
Steven Barth
<steven@midlink.org>
Sun, 14 Sep 2008 19:00:52 +0000
(19:00 +0000)
libs/uci/luasrc/model/uci.lua
patch
|
blob
|
history
diff --git
a/libs/uci/luasrc/model/uci.lua
b/libs/uci/luasrc/model/uci.lua
index 2385cc37ca3f3312773069947fdafed717d3847c..587cd63c0bba6fe5c8753fe8ee08bd2e1f8dbe22 100644
(file)
--- a/
libs/uci/luasrc/model/uci.lua
+++ b/
libs/uci/luasrc/model/uci.lua
@@
-77,7
+77,7
@@
function Cursor.delete_all(self, config, stype, comparator)
local tbl = comparator
comparator = function(section)
for k, v in pairs(tbl) do
- if
not section[k] =
= v then
+ if
section[k] ~
= v then
return false
end
end