Date: Sat, 31 Mar 2018 23:40:05 +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: r331854 - head/stand/lua Message-ID: <201803312340.w2VNe5bT097844@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 .. " "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803312340.w2VNe5bT097844>