summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLee, Chun-Yi <jlee@suse.com>2021-12-15 19:44:58 +0800
committerPeter Jones <pjones@redhat.com>2022-03-30 13:22:42 -0400
commit448f096e5c3a139535f162dfbfe8c08c434ac742 (patch)
tree1b0c8c8ace4dedc9f8a678f0813f7350c2f1649f /lib
parentf2c598bb2218da966872ba3e0c6e7e830dca6ef0 (diff)
downloadefi-boot-shim-448f096e5c3a139535f162dfbfe8c08c434ac742.tar.gz
efi-boot-shim-448f096e5c3a139535f162dfbfe8c08c434ac742.zip
MokManager: removed Locate graphic output protocol fail error message
On some platform, like GCP or OVMF which does NOT provide EFI_GRAPHICS_OUTPUT_PROTOCOL when no display device (or the display device be disabled). It causes that the "Error: Locate graphic output protocol fail: (0xE) Not Found." always be showed on console when we enroll MOK through MokManager. The message box blocked the process of enrolling MOK and scared user. The error message is introduced by 55163bc82c517 since 15.2. This patch removed the error message. Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/console.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/console.c b/lib/console.c
index 7be5d543..cca9f0a2 100644
--- a/lib/console.c
+++ b/lib/console.c
@@ -522,7 +522,6 @@ console_mode_handle(VOID)
efi_status = BS->LocateProtocol(&gop_guid, NULL, (void **)&gop);
if (EFI_ERROR(efi_status)) {
- console_error(L"Locate graphic output protocol fail", efi_status);
return;
}