]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: lua: test that /boot exists first
authorEmmanuel Vadot <manu@FreeBSD.org>
Mon, 13 Dec 2021 13:18:12 +0000 (14:18 +0100)
committerEmmanuel Vadot <manu@FreeBSD.org>
Thu, 13 Jan 2022 07:58:54 +0000 (08:58 +0100)
commit28d2b8b70047f6f3a6cc0d02c5090d333f7a61cb
treec1d66c7f0d430d1fdd38b3d16bf4480bda0eeedb
parentc95afea4a8a9d3ec07d1ab446cca30f25913c523
loader: lua: test that /boot exists first

Otherwise on fs like tftp where no directory listing is possible we fail
on the .dir method.

Reviewed by: imp, kevans
MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D33414

(cherry picked from commit c4dc907254a4275d8f3ecd9a6b615c6e2a2438e9)
stand/lua/core.lua