Date: Tue, 20 Feb 2018 21:15:43 +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: r329670 - head/stand/lua Message-ID: <201802202115.w1KLFhcP078710@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Tue Feb 20 21:15:43 2018 New Revision: 329670 URL: https://svnweb.freebsd.org/changeset/base/329670 Log: lualoader: Don't try so hard to load a kernel If the user's selected a kernel, we really should be trying to load that one instead of falling back to some default kernel. This should generally be a no-op and most desirable, unless you really enjoyed surprises. Modified: head/stand/lua/config.lua Modified: head/stand/lua/config.lua ============================================================================== --- head/stand/lua/config.lua Tue Feb 20 21:13:21 2018 (r329669) +++ head/stand/lua/config.lua Tue Feb 20 21:15:43 2018 (r329670) @@ -437,11 +437,6 @@ function config.loadelf() loaded = config.loadkernel(kernel); if (not loaded) then - loaded = config.loadkernel(); - end - - if (not loaded) then - -- Ultimately failed to load kernel print("Failed to load any kernel"); return; end
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802202115.w1KLFhcP078710>