Skip to content

Commit

Permalink
lualoader: Just compare expression directly
Browse files Browse the repository at this point in the history
  • Loading branch information
kevans91 committed Aug 21, 2018
1 parent 7bd4e19 commit 0667178
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stand/lua/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0667178

Please sign in to comment.