From df9e50a99cfd3956928adca156db52334bcaaf53 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Tue, 20 Feb 2018 21:15:43 +0000 Subject: [PATCH] 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. --- stand/lua/config.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/stand/lua/config.lua b/stand/lua/config.lua index c1be200e6af9..4d307ade4dd2 100644 --- a/stand/lua/config.lua +++ b/stand/lua/config.lua @@ -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