mirror of https://github.com/ipxe/ipxe.git
[efi] Check correct return value from efi_pxe_find()
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/1437/head
parent
4bcaa3d380
commit
18dbd05ed5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue