diff --git a/qvm-tools/qubes-hcl-report b/qvm-tools/qubes-hcl-report index 677f870d2..44f0614dd 100755 --- a/qvm-tools/qubes-hcl-report +++ b/qvm-tools/qubes-hcl-report @@ -272,7 +272,7 @@ else HAP_VERBOSE="No" fi -if [[ -f "/sys/class/tpm/tpm0/tpm_version_major" ]] +if [[ -f "/sys/class/tpm/tpm0/tpm_version_major" && $(< "/sys/class/tpm/tpm0/tpm_version_major") == "2" ]] then TPM="Device present (TPM 2.0)" TPM_s="2.0"