diff options
author | Steven Barth <steven@midlink.org> | 2008-09-14 19:00:52 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-14 19:00:52 +0000 |
commit | 56ccdb78fa669d86c15c5f55c457dd236bb66263 (patch) | |
tree | 885152aa71f70307d1e558bc7263ac9146b4afcb /libs/uci | |
parent | 00026ef79d7808cd0d8de83562f99e964523e00f (diff) |
libs/uci: Cursor.delete_all: fix logical condition
Diffstat (limited to 'libs/uci')
-rw-r--r-- | libs/uci/luasrc/model/uci.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/uci/luasrc/model/uci.lua b/libs/uci/luasrc/model/uci.lua index 2385cc37c..587cd63c0 100644 --- 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 |