mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 09:13:37 +01:00
lualoader: Just compare expression directly
This commit is contained in:
parent
da6e33875c
commit
b83a355d70
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338167
@ -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 New Issue
Block a user