diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2018-08-21 23:34:30 +0000 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2018-08-21 23:34:30 +0000 |
| commit | b83a355d70753435a7f44fd9bc172f2efbd91ba8 (patch) | |
| tree | e39d27e87c4107ac4a90ebc72c047906f9c3e63d | |
| parent | da6e33875ca44eea6306078a428473f60f1bd237 (diff) | |
lualoader: Just compare expression directly
Notes
svn path=/head/; revision=338167
| -rw-r--r-- | stand/lua/core.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stand/lua/core.lua b/stand/lua/core.lua index 0aca94594371..7c7fe4ab0aa9 100644 --- a/stand/lua/core.lua +++ b/stand/lua/core.lua @@ -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. |
