diff options
Diffstat (limited to 'DuetPkg/Library/DuetBdsLib/BdsPlatform.c')
-rw-r--r-- | DuetPkg/Library/DuetBdsLib/BdsPlatform.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c index b7b58ac0d0..71e9b5db50 100644 --- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c +++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c @@ -1080,7 +1080,12 @@ Returns: // from the graphic lib
//
if (QuietBoot) {
- EnableQuietBootEx (&gEfiDefaultBmpLogoGuid, mBdsImageHandle);
+ Status = EnableQuietBootEx (&gEfiDefaultBmpLogoGuid, mBdsImageHandle);
+ if (EFI_ERROR (Status)) {
+ DisableQuietBoot ();
+ return;
+ }
+
//
// Perform system diagnostic
//
|