summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httpboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpboot.c b/httpboot.c
index 94299e2e..7219e9bb 100644
--- a/httpboot.c
+++ b/httpboot.c
@@ -162,7 +162,7 @@ find_httpboot (EFI_HANDLE device)
/* to download the second stage loader in that case. */
NextNode = NextDevicePathNode(Node);
if (!IsDevicePathEnd(NextNode))
- continue;
+ goto out;
/* Save the current URI */
UriNode = (URI_DEVICE_PATH *)Node;