summaryrefslogtreecommitdiffstats
path: root/discover/grub2/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/grub2/env.c')
-rw-r--r--discover/grub2/env.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/discover/grub2/env.c b/discover/grub2/env.c
index 7eda095..74d5729 100644
--- a/discover/grub2/env.c
+++ b/discover/grub2/env.c
@@ -86,6 +86,8 @@ int builtin_load_env(struct grub2_script *script,
if (!rc) {
rc = parse_buf_to_env(script, buf, len);
+ if (rc)
+ pb_debug_fn("Failed to set env\n");
talloc_free(buf);
}
OpenPOWER on IntegriCloud