diff options
| author | Craig Leres <leres@FreeBSD.org> | 2026-03-09 21:47:10 +0000 |
|---|---|---|
| committer | Craig Leres <leres@FreeBSD.org> | 2026-06-16 23:48:16 +0000 |
| commit | 1841091eaa0b2e1f71600c892d3ce041a57bae3c (patch) | |
| tree | 97dab843ab1a0a8be8ef12dbb21a18d8846056ff | |
| parent | f81c82a9db12685f98421bfe9c368ff9a214c844 (diff) | |
core.lua: follow symlinks when looking for bootable kernels
PR: 293654
Reviewed by: kevans
Approved by: kevans
Differential Revision: https://reviews.freebsd.org/D55713
(cherry picked from commit e6d579be42550f366cc85188b15c6eb0cad27367)
| -rw-r--r-- | stand/lua/core.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/lua/core.lua b/stand/lua/core.lua index 16825d560094..a796ce8a4cfd 100644 --- a/stand/lua/core.lua +++ b/stand/lua/core.lua @@ -253,7 +253,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" then |
