Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153543976
D55713.id173327.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
738 B
Referenced Files
None
Subscribers
None
D55713.id173327.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D55713: core.lua: follow symlinks when looking for bootable kernels
Attached
Detach File
Event Timeline
Log In to Comment