svn commit: r329670 - head/stand/lua
Kyle Evans
kevans at FreeBSD.org
Tue Feb 20 21:15:44 UTC 2018
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
More information about the svn-src-all
mailing list