summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2017-10-19 11:11:14 -0400
committerPeter Jones <pmjones@gmail.com>2018-03-12 16:21:43 -0400
commit91e5f5324eae88fd0da414c75fdc7c7d01ee9729 (patch)
tree961bc05f82c5901d40a5019a4dcb417151582bee
parentf80b30febc947a3ac2ee0efdc621c8e51733b8b1 (diff)
downloadefi-boot-shim-91e5f5324eae88fd0da414c75fdc7c7d01ee9729.tar.gz
efi-boot-shim-91e5f5324eae88fd0da414c75fdc7c7d01ee9729.zip
shim: main(): Don't save the value from mok_ignore_db()
We don't really care if setting MokIgnoreDB fails; don't save the return. Signed-off-by: Peter Jones <pjones@redhat.com>
-rw-r--r--shim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shim.c b/shim.c
index d6bfcb3a..38cc452a 100644
--- a/shim.c
+++ b/shim.c
@@ -2979,7 +2979,7 @@ efi_main (EFI_HANDLE passed_image_handle, EFI_SYSTEM_TABLE *passed_systab)
* Create the runtime MokIgnoreDB variable so the kernel can
* make use of it
*/
- efi_status = mok_ignore_db();
+ mok_ignore_db();
/*
* Hand over control to the second stage bootloader