From 80eb81f6f07098f69bb577ec86d6593ca98c6ebb Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Tue, 19 Jun 2018 15:05:31 +0000 Subject: [PATCH] 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. --- stand/lua/config.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stand/lua/config.lua b/stand/lua/config.lua index e91cd511d92..d01f5a790e9 100644 --- a/stand/lua/config.lua +++ b/stand/lua/config.lua @@ -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