mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
committed by
Luca Boccassi
parent
6fb81984ee
commit
ac3979abd7
@@ -147,7 +147,7 @@ EFI_STATUS console_key_read(UINT64 *key, UINT64 timeout_usec) {
|
||||
}
|
||||
|
||||
return EFI_NOT_READY;
|
||||
} else if (BS->CheckEvent(ST->ConIn->WaitForKey)) {
|
||||
} else if (!EFI_ERROR(BS->CheckEvent(ST->ConIn->WaitForKey))) {
|
||||
EFI_INPUT_KEY k;
|
||||
|
||||
err = ST->ConIn->ReadKeyStroke(ST->ConIn, &k);
|
||||
|
||||
Reference in New Issue
Block a user