Enter is pressed to goto front page
Signed-off-by: czhang46
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13480
6f19259b-4bc3-4df7-8a09-
765794883524
Status = ShowProgress (TimeoutDefault);\r
StatusHotkey = HotkeyBoot ();\r
\r
- if (!FeaturePcdGet(PcdBootlogoOnlyEnable) || !EFI_ERROR(StatusHotkey)){\r
+ if (!FeaturePcdGet(PcdBootlogoOnlyEnable) || !EFI_ERROR(Status) || !EFI_ERROR(StatusHotkey)){\r
//\r
// Ensure screen is clear when switch Console from Graphics mode to Text mode\r
// Skip it in normal boot \r