Skip to content
Commit 6f90a05a authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_loader: correct handling of EFI binary return code



We should not try to remove protocol interfaces from a NULL handle.
efi_run_image() should always return the return code of the executed EFI
binary.

Fixes: 6422820a ("efi_loader: split unrelated code from efi_bootmgr.c")
Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent b9d4db4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment