mirror of
https://github.com/systemd/systemd
synced 2024-09-15 22:30:22 +00:00
cryptsetup: shorten message a bit
If it is reported as missing, we don't need to say that we assume it is missing.
This commit is contained in:
parent
f777e745a7
commit
88a65c936e
|
@ -1414,7 +1414,7 @@ static int attach_luks_or_plain_or_bitlk_by_tpm2(
|
||||||
|
|
||||||
if (is_efi_boot() && !efi_has_tpm2())
|
if (is_efi_boot() && !efi_has_tpm2())
|
||||||
return log_notice_errno(SYNTHETIC_ERRNO(EAGAIN),
|
return log_notice_errno(SYNTHETIC_ERRNO(EAGAIN),
|
||||||
"No TPM2 hardware discovered and EFI bios indicates no support for it either, assuming TPM2-less system, falling back to traditional unlocking.");
|
"No TPM2 hardware discovered and EFI firmware does not see it either, falling back to traditional unlocking.");
|
||||||
|
|
||||||
r = make_tpm2_device_monitor(&event, &monitor);
|
r = make_tpm2_device_monitor(&event, &monitor);
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
|
|
Loading…
Reference in a new issue