Fix incorrect return code of boot option update
authorRaymond Mao <raymond.mao@linaro.org>
Mon, 19 Jun 2023 21:22:59 +0000 (14:22 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 15 Jul 2023 09:20:41 +0000 (11:20 +0200)
commit9945bc4f867a9d0dd2c69b86b182265320f37d4b
tree71b727e892846f796ee5b667ff18956ea956e80c
parent339b527bd4507404a2128ddad24ba060eba342c9
Fix incorrect return code of boot option update

Correct the return code for out-of-memory and no boot option found

Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/bootmenu.c
cmd/eficonfig.c
lib/efi_loader/efi_bootmgr.c