Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2018 21:13:21 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329669 - head/stand/lua
Message-ID:  <201802202113.w1KLDLCw078439@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Tue Feb 20 21:13:21 2018
New Revision: 329669
URL: https://svnweb.freebsd.org/changeset/base/329669

Log:
  lualoader: Prefer selected kernel to currently loaded

Modified:
  head/stand/lua/config.lua

Modified: head/stand/lua/config.lua
==============================================================================
--- head/stand/lua/config.lua	Tue Feb 20 20:46:27 2018	(r329668)
+++ head/stand/lua/config.lua	Tue Feb 20 21:13:21 2018	(r329669)
@@ -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...");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802202113.w1KLDLCw078439>