Date: Mon, 09 Mar 2026 21:47:56 +0000 From: Craig Leres <leres@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: e6d579be4255 - main - core.lua: follow symlinks when looking for bootable kernels Message-ID: <69af400c.3be4b.1e02aa00@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by leres: URL: https://cgit.FreeBSD.org/src/commit/?id=e6d579be42550f366cc85188b15c6eb0cad27367 commit e6d579be42550f366cc85188b15c6eb0cad27367 Author: Craig Leres <leres@FreeBSD.org> AuthorDate: 2026-03-09 21:47:10 +0000 Commit: Craig Leres <leres@FreeBSD.org> CommitDate: 2026-03-09 21:47:47 +0000 core.lua: follow symlinks when looking for bootable kernels PR: 293654 Reviewed by: kevans Approved by: kevans Differential Revision: https://reviews.freebsd.org/D55713 --- stand/lua/core.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/lua/core.lua b/stand/lua/core.lua index b1b321d10868..92cbd20b25a0 100644 --- a/stand/lua/core.lua +++ b/stand/lua/core.lua @@ -255,7 +255,7 @@ function core.kernelList() end if ftype then - if ftype ~= lfs.DT_DIR then + if ftype ~= lfs.DT_DIR and ftype ~= (lfs.DT_LNK or 10) then goto continue end elseif lfs.attributes(fname, "mode") ~= "directory" thenhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69af400c.3be4b.1e02aa00>
