lualoader: Just compare expression directly
This commit is contained in:
parent
da6e33875c
commit
b83a355d70
@ -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…
x
Reference in New Issue
Block a user