mirror of https://github.com/aredn/aredn.git
Fix bug in first install/boot (#1677)
This commit is contained in:
parent
6b583fb1d0
commit
722b13288e
|
@ -162,7 +162,7 @@ do
|
|||
end
|
||||
|
||||
-- Override with the current config
|
||||
local all = uci.cursor("/etc/config.mesh"):get_all("setup", "globals")
|
||||
local all = uci.cursor("/etc/config.mesh"):get_all("setup", "globals") or {}
|
||||
for k, v in pairs(all)
|
||||
do
|
||||
if not k:match("^%.") then
|
||||
|
|
Loading…
Reference in New Issue