aboutsummaryrefslogtreecommitdiffstats
path: root/efi
diff options
context:
space:
mode:
Diffstat (limited to 'efi')
-rw-r--r--efi/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/efi/main.c b/efi/main.c
index 6dbc259e..e07ee5c8 100644
--- a/efi/main.c
+++ b/efi/main.c
@@ -1381,7 +1381,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *table)
in = ST->ConIn;
do {
status = uefi_call_wrapper(in->ReadKeyStroke, 2, in, &key);
- } while (status != EFI_NOT_READY);
+ } while (status == EFI_SUCCESS);
if (!setjmp(load_error_buf))
load_env32(NULL);