On Tue, 26 May 2026 16:37:29 +0800, Weijie Gao wrote:
> The last entry of bootmenu is always set for exiting the menu, and its
> command is set to an empty string.
>
> When user selects to quit the menu, bootmenu will try to run this empty
> command. However run_command() with empty cmd string will return failure,
> and the return value will be overridden to BOOTMENU_RET_FAIL, not the
> expected BOOTMENU_RET_QUIT.
>
> [...]
Applied to u-boot/next, thanks!
[1/1] bootmenu: fix incorrect menu quitting logic
commit: 1cc0442ede5444b76356bcba9aaeb11750e97b65
--
Tom