svn commit: r338167 - head/stand/lua

Kyle Evans kevans at FreeBSD.org
Tue Aug 21 23:34:31 UTC 2018


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.


More information about the svn-src-all mailing list