svn commit: r331854 - head/stand/lua

Kyle Evans kevans at FreeBSD.org
Sat Mar 31 23:40:06 UTC 2018


Author: kevans
Date: Sat Mar 31 23:40:05 2018
New Revision: 331854
URL: https://svnweb.freebsd.org/changeset/base/331854

Log:
  lualoader: Do case-insensitive comparison of "yes"

Modified:
  head/stand/lua/config.lua

Modified: head/stand/lua/config.lua
==============================================================================
--- head/stand/lua/config.lua	Sat Mar 31 23:24:28 2018	(r331853)
+++ head/stand/lua/config.lua	Sat Mar 31 23:40:05 2018	(r331854)
@@ -205,7 +205,7 @@ local function loadModule(mod, silent)
 	local status = true
 	local pstatus
 	for k, v in pairs(mod) do
-		if v.load == "YES" then
+		if v.load:lower() == "yes" then
 			local str = "load "
 			if v.flags ~= nil then
 				str = str .. v.flags .. " "


More information about the svn-src-all mailing list