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

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