Page MenuHomeFreeBSD

D55713.id173327.diff
No OneTemporary

D55713.id173327.diff

diff --git a/stand/lua/core.lua b/stand/lua/core.lua
--- a/stand/lua/core.lua
+++ b/stand/lua/core.lua
@@ -247,18 +247,15 @@
-- Automatically detect other bootable kernel directories using a
-- heuristic. Any directory in /boot that contains an ordinary file
-- named "kernel" is considered eligible.
- for file, ftype in lfs.dir("/boot") do
+ for file in lfs.dir("/boot") do
local fname = "/boot/" .. file
if file == "." or file == ".." then
goto continue
end
- if ftype then
- if ftype ~= lfs.DT_DIR then
- goto continue
- end
- elseif lfs.attributes(fname, "mode") ~= "directory" then
+ -- This test follows symlinks
+ if lfs.attributes(fname, "mode") ~= "directory" then
goto continue
end

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 22, 7:15 PM (8 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29419329
Default Alt Text
D55713.id173327.diff (738 B)

Event Timeline