mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
lualoader: Prefer selected kernel to currently loaded
This commit is contained in:
parent
502b48823a
commit
ebddeb04e2
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ function config.reload(file)
|
|||
end
|
||||
|
||||
function config.loadelf()
|
||||
local kernel = config.kernel_loaded or config.kernel_selected;
|
||||
local kernel = config.kernel_selected or config.kernel_loaded;
|
||||
local loaded = false;
|
||||
|
||||
print("Loading kernel...");
|
||||
|
|
|
|||
Loading…
Reference in a new issue