lualoader: Just compare expression directly

This commit is contained in:
Kyle Evans 2018-08-21 23:34:30 +00:00
parent da6e33875c
commit b83a355d70
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338167

View File

@ -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.