Blame SOURCES/0140-always-return-error-to-UEFI.patch

f731ee
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
f731ee
From: Fedora Ninjas <grub2-owner@fedoraproject.org>
f731ee
Date: Wed, 26 Feb 2014 21:49:12 -0500
f731ee
Subject: [PATCH] always return error to UEFI
f731ee
f731ee
---
f731ee
 grub-core/kern/efi/efi.c | 2 +-
f731ee
 1 file changed, 1 insertion(+), 1 deletion(-)
f731ee
f731ee
diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c
f731ee
index cd839cc988a..1a8dba531b6 100644
f731ee
--- a/grub-core/kern/efi/efi.c
f731ee
+++ b/grub-core/kern/efi/efi.c
f731ee
@@ -158,7 +158,7 @@ grub_exit (void)
f731ee
 {
f731ee
   grub_efi_fini ();
f731ee
   efi_call_4 (grub_efi_system_table->boot_services->exit,
f731ee
-              grub_efi_image_handle, GRUB_EFI_SUCCESS, 0, 0);
f731ee
+              grub_efi_image_handle, GRUB_EFI_LOAD_ERROR, 0, 0);
f731ee
   for (;;) ;
f731ee
 }
f731ee