mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-14 06:26:15 +00:00
tpm: Pass unknown error as non-fatal, but debug print the error we got
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> Bug-Debian: https://bugs.debian.org/940911 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848892 Last-Update: 2021-09-24 Patch-Name: tpm-unknown-error-non-fatal.patch
This commit is contained in:
parent
e5be30174c
commit
ba3a0d4b6c
@ -145,7 +145,8 @@ grub_efi_log_event_status (grub_efi_status_t status)
|
||||
case GRUB_EFI_NOT_FOUND:
|
||||
return grub_error (GRUB_ERR_UNKNOWN_DEVICE, N_("TPM unavailable"));
|
||||
default:
|
||||
return grub_error (GRUB_ERR_UNKNOWN_DEVICE, N_("Unknown TPM error"));
|
||||
grub_dprintf ("tpm", "Unknown TPM error: %" PRIdGRUB_SSIZE, status);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user