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.
This commit is contained in:
parent
ebddeb04e2
commit
df9e50a99c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329670
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user