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