From 9523b4fee22f936f940198fee25ab67af401e180 Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Fri, 3 Nov 2023 09:31:44 -0400 Subject: [PATCH] unseal-totp: fix indentation Signed-off-by: Thierry Laurion --- initrd/bin/unseal-totp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initrd/bin/unseal-totp b/initrd/bin/unseal-totp index ed8f18af..7a8dfaf3 100755 --- a/initrd/bin/unseal-totp +++ b/initrd/bin/unseal-totp @@ -10,7 +10,7 @@ TRACE "Under /bin/unseal-totp" if [ "$CONFIG_TPM" = "y" ]; then tpmr unseal 4d47 0,1,2,3,4,7 312 "$TOTP_SECRET" || die "Unable to unseal TOTP secret" - fi +fi if ! totp -q <"$TOTP_SECRET"; then shred -n 10 -z -u "$TOTP_SECRET" 2>/dev/null