summaryrefslogtreecommitdiff
path: root/replacements.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2013-10-04 15:31:48 -0400
committerPeter Jones <pjones@redhat.com>2013-10-04 15:31:48 -0400
commit98a9957866b31d0ca457961932a9f997068f3ab3 (patch)
tree2ecf92366812e1efc47ada07004b607a0a39d03a /replacements.c
parent29d9c7c32799b3f9d95c8c971af827a049931801 (diff)
downloadefi-boot-shim-98a9957866b31d0ca457961932a9f997068f3ab3.tar.gz
efi-boot-shim-98a9957866b31d0ca457961932a9f997068f3ab3.zip
Unhook system services as we exit.
If we never find a valid thing to boot, we need to undo the weird things we've done. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'replacements.c')
-rw-r--r--replacements.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/replacements.c b/replacements.c
index b05b2202..bac5e5d7 100644
--- a/replacements.c
+++ b/replacements.c
@@ -66,7 +66,7 @@ static typeof(systab->BootServices->ExitBootServices) system_exit_boot_services;
extern UINT8 insecure_mode;
-static void
+void
unhook_system_services(void)
{
if (insecure_mode)