summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-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 8610a26d1..98d0d59f5 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))