2015-07-22 14:14:34 +00:00
|
|
|
From cbadbfbf9694d91b7c5d15f1d7ac7b9773168bab Mon Sep 17 00:00:00 2001
|
2014-07-02 15:49:28 +00:00
|
|
|
From: Fedora Ninjas <grub2-owner@fedoraproject.org>
|
|
|
|
Date: Wed, 26 Feb 2014 21:49:12 -0500
|
2015-07-22 14:14:34 +00:00
|
|
|
Subject: [PATCH 52/74] always return error to UEFI
|
2014-07-02 15:49:28 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
grub-core/kern/efi/efi.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c
|
2015-07-22 13:44:51 +00:00
|
|
|
index d12701e..c80d85b 100644
|
2014-07-02 15:49:28 +00:00
|
|
|
--- a/grub-core/kern/efi/efi.c
|
|
|
|
+++ b/grub-core/kern/efi/efi.c
|
2015-07-22 13:44:51 +00:00
|
|
|
@@ -159,7 +159,7 @@ grub_exit (void)
|
2014-07-02 15:49:28 +00:00
|
|
|
{
|
2015-07-22 13:44:51 +00:00
|
|
|
grub_machine_fini (GRUB_LOADER_FLAG_NORETURN);
|
2014-07-02 15:49:28 +00:00
|
|
|
efi_call_4 (grub_efi_system_table->boot_services->exit,
|
|
|
|
- grub_efi_image_handle, GRUB_EFI_SUCCESS, 0, 0);
|
|
|
|
+ grub_efi_image_handle, GRUB_EFI_LOAD_ERROR, 0, 0);
|
|
|
|
for (;;) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
--
|
2015-07-22 13:44:51 +00:00
|
|
|
2.4.3
|
2014-07-02 15:49:28 +00:00
|
|
|
|