mirror of
https://github.com/ipxe/ipxe.git
synced 2026-05-04 20:06:30 +02:00
[efi] Check correct return value from efi_pxe_find()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
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…
x
Reference in New Issue
Block a user