diff options
| author | Matthew Garrett <mjg@redhat.com> | 2012-11-01 16:03:24 -0400 |
|---|---|---|
| committer | Matthew Garrett <mjg@redhat.com> | 2012-11-01 16:03:24 -0400 |
| commit | 2fd180a92d11b24dccfbf3d8cef7c330124faae8 (patch) | |
| tree | e18bdb245ba84eef837d335835629f085cfc7f20 | |
| parent | 5c9cf018c7a2010a42e29929ed8ba847cbfaf9c2 (diff) | |
| download | efi-boot-shim-2fd180a92d11b24dccfbf3d8cef7c330124faae8.tar.gz efi-boot-shim-2fd180a92d11b24dccfbf3d8cef7c330124faae8.zip | |
Don't fail if there's no network devices
findNetboot() would continue blindly even if no PXE-capable devices were
found. Fix that.
| -rw-r--r-- | netboot.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -106,6 +106,11 @@ try_again: goto try_again; } + if (status == EFI_NOT_FOUND) { + FreePool(buffer); + return FALSE; + } + /* * We have a list of pxe supporting protocols, lets see if any are * active |
