]> git.ozlabs.org Git - petitboot/blobdiff - discover/grub2/env.c
Various fixups and checks to make scan-build happy
[petitboot] / discover / grub2 / env.c
index 7eda0953fd4f5ce7d1cd6b6f20964a1f62f16bed..74d5729dd19bb3c81255fb38d93bc4c9f38df878 100644 (file)
@@ -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);
        }