mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-05-28 16:01:15 +00:00
Always show the MokManager UI
If someone explicitly starts MokManager then we want to show the UI
This commit is contained in:
parent
8cf182af8b
commit
27a8fc9fd1
@ -1029,13 +1029,8 @@ static EFI_STATUS check_mok_request(EFI_HANDLE image_handle)
|
||||
|
||||
MokNew = LibGetVariableAndSize(L"MokNew", &shim_lock_guid, &MokNewSize);
|
||||
|
||||
if (MokNew == NULL || MokNewSize < sizeof(UINT32)) {
|
||||
goto error;
|
||||
}
|
||||
|
||||
enter_mok_menu(image_handle, MokNew);
|
||||
|
||||
error:
|
||||
if (MokNew) {
|
||||
if (LibDeleteVariable(L"MokNew", &shim_lock_guid) != EFI_SUCCESS) {
|
||||
Print(L"Failed to delete MokNew\n");
|
||||
|
Loading…
Reference in New Issue
Block a user