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