Aaron Hill - 2022-08-10

When an error occurs when trying to boot into an EFI operating system (e.g. a misconfigured vmlinuz path), the actual error screen is only displayed for a fraction of a second. rEFInd almost immediately returns the boot menu, resulting a brief flash of error text.

This appears to have been introduced in commit https://sourceforge.net/p/refind/code/ci/1325b8abd42d425c728709263249450998931d7f/ which removes the PauseForKey call in FinishExternalScreen when an error has occured. As a result, StartEFIImage immediately returns after calling FinishExternalScreen, which results in the main menu being immediately drawn over the error message.