Yes. My fault. I'll fix. I thought I'd tested the menu... but apparently
not. My apologies.

Warner

On Mon, Jul 29, 2024, 6:44 PM 内藤祐一郎 <naito.yuich...@gmail.com> wrote:

> Hi, I updated my FreeBSD current machine to the following commit.
>
> FreeBSD vega.yuisoft.com 15.0-CURRENT FreeBSD 15.0-CURRENT #29
> main-n271492-0eac99f76ec3: Tue Jul 30 08:59:51 JST 2024
>  yuich...@vega.yuisoft.com:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
> amd64
>
> The lua loader fails as follows.
>
> ERROR: error loading module 'menu' from file '/boot/lua/menu.lua':
>   /boot/lua/menu.lua:420: '}' expected (to close '{' at line 415) near 'vi
> sible’.
>
> A comma is probably missing. The following patch works for me.
>
> diff --git a/stand/lua/menu.lua b/stand/lua/menu.lua
> index 66d7fe673023..7d295eeb65eb 100644
> --- a/stand/lua/menu.lua
> +++ b/stand/lua/menu.lua
> @@ -416,7 +416,7 @@ menu.welcome = {                          entry_type =
> core.MENU_SEPARATOR,
>                         name = function()
>                                 return "Loader requires updating"
> -                       end
> +                       end,
>                         visible = function()
>                                 return core.loaderTooOld()
>                         end
>
>
> —
> Yuichiro NAITO
> naito.yuich...@gmail.com
>
>
>
>
>

Reply via email to