mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
lualoader: Correct kernel_options handling
`kernel_options` were being passed as flags to load, rather than to the kernel being loaded. This is the kernel_options counterpart to r335009.
This commit is contained in:
parent
4fe3053183
commit
80eb81f6f0
1 changed files with 2 additions and 2 deletions
|
|
@ -425,8 +425,8 @@ function config.loadKernel(other_kernel)
|
|||
|
||||
local function tryLoad(names)
|
||||
for name in names:gmatch("([^;]+)%s*;?") do
|
||||
local r = loader.perform("load " .. flags ..
|
||||
" " .. name)
|
||||
local r = loader.perform("load " .. name ..
|
||||
" " .. flags)
|
||||
if r == 0 then
|
||||
return name
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue