From 9897c75d8a52539e613eefd69f77842c04edd5b0 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Thu, 16 May 2013 23:45:05 +0200 Subject: [PATCH] another "check ReadKeyStroke() for EFI_SUCCESS" Just like with commit 9061fc1, trying to boot server without keyboard resets timeout and prevents normal boot of default entry. --- src/efi/gummiboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/efi/gummiboot.c b/src/efi/gummiboot.c index 7f09a9c..9a7f14b 100644 --- a/src/efi/gummiboot.c +++ b/src/efi/gummiboot.c @@ -769,7 +769,7 @@ static BOOLEAN menu_run(Config *config, ConfigEntry **chosen_entry, CHAR16 *load } err = uefi_call_wrapper(ST->ConIn->ReadKeyStroke, 2, ST->ConIn, &key); - if (err == EFI_NOT_READY) { + if (err != EFI_SUCCESS) { UINTN index; if (timeout_remain == 0) { -- 2.7.4