summaryrefslogtreecommitdiffhomepage
path: root/libs/uci
diff options
context:
space:
mode:
Diffstat (limited to 'libs/uci')
-rw-r--r--libs/uci/luasrc/model/uci.lua2
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