Author: kevans
Date: Tue Aug 21 23:34:30 2018
New Revision: 338167
URL: https://svnweb.freebsd.org/changeset/base/338167

Log:
  lualoader: Just compare expression directly

Modified:
  head/stand/lua/core.lua

Modified: head/stand/lua/core.lua
==============================================================================
--- head/stand/lua/core.lua     Tue Aug 21 23:33:38 2018        (r338166)
+++ head/stand/lua/core.lua     Tue Aug 21 23:34:30 2018        (r338167)
@@ -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.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to