Blame SOURCES/0155-Fix-a-missing-return-in-efi-export-env-and-efi-load-.patch

5593c8
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
5593c8
From: Peter Jones <pjones@redhat.com>
5593c8
Date: Wed, 16 Jan 2019 13:21:46 -0500
5593c8
Subject: [PATCH] Fix a missing return in efi-export-env and efi-load-env
5593c8
 commands
5593c8
5593c8
Somewhere along the way this got mis-merged to include a return without
5593c8
a value.  Fix it up.
5593c8
5593c8
Signed-off-by: Peter Jones <pjones@redhat.com>
5593c8
---
5593c8
 grub-core/commands/efi/env.c | 2 ++
5593c8
 1 file changed, 2 insertions(+)
5593c8
5593c8
diff --git a/grub-core/commands/efi/env.c b/grub-core/commands/efi/env.c
5593c8
index cbd13e03e81..977edb6b065 100644
5593c8
--- a/grub-core/commands/efi/env.c
5593c8
+++ b/grub-core/commands/efi/env.c
5593c8
@@ -149,6 +149,8 @@ grub_efi_load_env(grub_command_t cmd __attribute__ ((unused)),
5593c8
 
5593c8
   grub_envblk_iterate (envblk, NULL, set_var);
5593c8
   grub_free (envblk_s.buf);
5593c8
+
5593c8
+  return GRUB_ERR_NONE;
5593c8
 }
5593c8
 
5593c8
 static grub_command_t export_cmd, loadenv_cmd;