Get the variable name right.
This commit is contained in:
parent
9bf0fc0b5e
commit
3490553d0e
@ -89,7 +89,7 @@ index c6bd96e..3e83ee8 100644
|
|||||||
+ grub_efi_guid_t guid = GRUB_EFI_GLOBAL_VARIABLE_GUID;
|
+ grub_efi_guid_t guid = GRUB_EFI_GLOBAL_VARIABLE_GUID;
|
||||||
+ unsigned int x;
|
+ unsigned int x;
|
||||||
+
|
+
|
||||||
+ data = grub_efi_get_variable ("SecureBoots", &guid, &datasize);
|
+ data = grub_efi_get_variable ("SecureBoot", &guid, &datasize);
|
||||||
+ if (!data)
|
+ if (!data)
|
||||||
+ return GRUB_ERR_NONE;
|
+ return GRUB_ERR_NONE;
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user