diff options
| author | Peter Jones <pjones@redhat.com> | 2015-06-29 14:41:21 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2015-06-29 14:41:21 -0400 |
| commit | c41efe5a8cd36823ce775a9b58b1242832d6edf2 (patch) | |
| tree | a5d205de14b655abccb3724773c46aa27fb71007 | |
| parent | dcfd6b68bebac84c536177c8a959169a00318ee3 (diff) | |
| download | efi-boot-shim-c41efe5a8cd36823ce775a9b58b1242832d6edf2.tar.gz efi-boot-shim-c41efe5a8cd36823ce775a9b58b1242832d6edf2.zip | |
Don't print anything or delay when start_image() succeeds.
Signed-off-by: Peter Jones <pjones@redhat.com>
| -rw-r--r-- | shim.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1698,8 +1698,10 @@ EFI_STATUS init_grub(EFI_HANDLE image_handle) use_fb ? FALLBACK : second_stage); } - Print(L"start_image() returned %r\n", efi_status); - uefi_call_wrapper(BS->Stall, 1, 2000000); + if (efi_status != EFI_SUCCESS) { + Print(L"start_image() returned %r\n", efi_status); + uefi_call_wrapper(BS->Stall, 1, 2000000); + } return efi_status; } |
