diff options
| author | Peter Jones <pjones@redhat.com> | 2015-06-19 13:40:00 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2015-06-29 14:41:21 -0400 |
| commit | f7c34e9b5f38955e69d8f165cea615fe535ac547 (patch) | |
| tree | a5d205de14b655abccb3724773c46aa27fb71007 | |
| parent | 6d4803a1c05413f5ba9e58837a6b337b17bc939d (diff) | |
| download | efi-boot-shim-f7c34e9b5f38955e69d8f165cea615fe535ac547.tar.gz efi-boot-shim-f7c34e9b5f38955e69d8f165cea615fe535ac547.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; } |
