Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2018 23:34:31 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r338167 - head/stand/lua
Message-ID:  <201808212334.w7LNYVO5046128@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808212334.w7LNYVO5046128>