mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
lualoader: Just compare expression directly
This commit is contained in:
parent
da6e33875c
commit
b83a355d70
1 changed files with 1 additions and 2 deletions
|
|
@ -328,8 +328,7 @@ end
|
|||
|
||||
-- Is the menu skipped in the environment in which we've booted?
|
||||
function core.isMenuSkipped()
|
||||
c = string.lower(loader.getenv("beastie_disable") or "")
|
||||
return c == "yes"
|
||||
return string.lower(loader.getenv("beastie_disable") or "") == "yes"
|
||||
end
|
||||
|
||||
-- This may be a better candidate for a 'utility' module.
|
||||
|
|
|
|||
Loading…
Reference in a new issue