Skip to content
Snippets Groups Projects
Commit 8ff93e95 authored by Johannes Rudolph's avatar Johannes Rudolph
Browse files

check if nil

parent 6702bdf1
No related branches found
No related tags found
1 merge request!29Banner with Hoodname
...@@ -18,6 +18,9 @@ infoHeader["revision"] = "" ...@@ -18,6 +18,9 @@ infoHeader["revision"] = ""
infoHeader["gluonVersion"] = "" infoHeader["gluonVersion"] = ""
infoHeader["gluonRelease"] = "" infoHeader["gluonRelease"] = ""
infoHeader["hoodname"] = uci:get('hoodselector', 'hoodselector', 'hood') infoHeader["hoodname"] = uci:get('hoodselector', 'hoodselector', 'hood')
if infoHeader["hoodname"] == nil then
infoHeader["hoodname"] = ""
end
if openwrtRelease~=nil then if openwrtRelease~=nil then
for line in openwrtRelease:lines() do for line in openwrtRelease:lines() do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment