diff options
author | Steven Barth <steven@midlink.org> | 2008-03-12 20:52:28 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-03-12 20:52:28 +0000 |
commit | ffe39ec1babf58fef087bd580d7ad0725d9b3389 (patch) | |
tree | 35c2822aa9dd1e2640324856cb0b467df582c9cf /src/ffluci/model | |
parent | 93a98dd13be5127871ff78d85e8199f2df77e9c2 (diff) |
Added module for system abstraction
Rewrote readfile and exec functions
Moved some orpahned example file out of the way
Diffstat (limited to 'src/ffluci/model')
-rw-r--r-- | src/ffluci/model/uci.lua | 2 |
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 |