]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cryptsetup: shorten message a bit
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 25 Mar 2022 09:54:39 +0000 (10:54 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 29 Mar 2022 16:14:51 +0000 (18:14 +0200)
If it is reported as missing, we don't need to say that we assume
it is missing.

src/cryptsetup/cryptsetup.c

index 22c91c3ffc65f6c573afeedce4b6f51a749a9c6e..6c7b74037f8d5a2be9501f119094d8983c1935af 100644 (file)
@@ -1414,7 +1414,7 @@ static int attach_luks_or_plain_or_bitlk_by_tpm2(
 
                         if (is_efi_boot() && !efi_has_tpm2())
                                 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);
                         if (r < 0)