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
@ -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…
x
Reference in New Issue
Block a user