summaryrefslogtreecommitdiffstats
path: root/src/interface/efi/efi_block.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/efi/efi_block.c')
-rw-r--r--src/interface/efi/efi_block.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interface/efi/efi_block.c b/src/interface/efi/efi_block.c
index 28a7f723..2f0187a0 100644
--- a/src/interface/efi/efi_block.c
+++ b/src/interface/efi/efi_block.c
@@ -1042,8 +1042,12 @@ static int efi_block_boot ( unsigned int drive,
/* Check if this handle is eligible to be
* given a local virtual drive number.
+ *
+ * Do not record this as the overall error
+ * status, since it is not an interesting
+ * error.
*/
- if ( ( rc = efi_block_local ( handle ) ) != 0 ) {
+ if ( efi_block_local ( handle ) != 0 ) {
/* Do not consume virtual drive number */
vdrive--;
continue;