mirror of
https://github.com/linuxboot/heads.git
synced 2025-03-23 12:35:24 +00:00
If /boot isn't mounted, we can't read the HOTP secret, so no point in reading from the TPM. This speeds up getting to the main menu in the case of an inaccessible or non-existant /boot, and maintains the warning condition from not being able to validate the HOTP. Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>