summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffluci/model')
-rw-r--r--src/ffluci/model/uci.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ffluci/model/uci.lua b/src/ffluci/model/uci.lua
index 492367ce28..9b9fcb0935 100644
--- a/src/ffluci/model/uci.lua
+++ b/src/ffluci/model/uci.lua
@@ -96,7 +96,7 @@ function _uci2(cmd)
end
function _uci3(cmd)
- local res = ffluci.util.exec(ucicmd .. " 2>&1 " .. cmd, true)
+ local res = ffluci.util.execl(ucicmd .. " 2>&1 " .. cmd)
if res[1]:sub(1, ucicmd:len() + 1) == ucicmd .. ":" then
return nil, res[1]
end