mirror of
https://github.com/ipxe/ipxe
synced 2026-01-27 01:53:22 +03:00
[efi] Check correct return value from efi_pxe_find()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -1679,7 +1679,7 @@ void efi_pxe_uninstall ( EFI_HANDLE handle ) {
|
||||
|
||||
/* Locate PXE base code */
|
||||
pxe = efi_pxe_find ( handle );
|
||||
if ( ! handle ) {
|
||||
if ( ! pxe ) {
|
||||
DBG ( "PXE could not find base code for %s\n",
|
||||
efi_handle_name ( handle ) );
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user