summaryrefslogtreecommitdiffhomepage
path: root/libs/uvl/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/uvl/luasrc')
-rw-r--r--libs/uvl/luasrc/uvl.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/uvl/luasrc/uvl.lua b/libs/uvl/luasrc/uvl.lua
index 8610a26d1c..98d0d59f53 100644
--- a/libs/uvl/luasrc/uvl.lua
+++ b/libs/uvl/luasrc/uvl.lua
@@ -916,7 +916,8 @@ uvlitem._ucicache = {}
function uvlitem._loadconf(self, co, c)
co = co or self._ucicache[c]
if not co then
- local co, err = cursor:get_all(c)
+ local err
+ co, err = cursor:get_all(c)
if err then
self:error(ERR.UCILOAD(self, err))