diff options
| author | Peter Jones <pjones@redhat.com> | 2017-02-06 16:49:28 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2017-02-06 16:49:28 -0500 |
| commit | 9f2c83e60e0758c3db387eebaed3f306ad6214a8 (patch) | |
| tree | 89e8f89af323651f13ac7f5f4364cda0d83527d9 /shim.c | |
| parent | 6ebf9b8704ef04f30324242f73e4b9ce2fb7f3bc (diff) | |
| download | efi-boot-shim-9f2c83e60e0758c3db387eebaed3f306ad6214a8.tar.gz efi-boot-shim-9f2c83e60e0758c3db387eebaed3f306ad6214a8.zip | |
Also just check for access denied anyway.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'shim.c')
| -rw-r--r-- | shim.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1855,8 +1855,8 @@ EFI_STATUS init_grub(EFI_HANDLE image_handle) int use_fb = should_use_fallback(image_handle); efi_status = start_image(image_handle, use_fb ? FALLBACK :second_stage); - - if (efi_status == EFI_SECURITY_VIOLATION) { + if (efi_status == EFI_SECURITY_VIOLATION || + efi_status == EFI_ACCESS_DENIED) { efi_status = start_image(image_handle, MOK_MANAGER); if (efi_status != EFI_SUCCESS) { Print(L"start_image() returned %r\n", efi_status); |
