Skip to content

Commit c51643b

Browse files
gui-init: Remove unneeded UTC time zone indication from current time
The time zone in Heads is always UTC and we mentioned that in the text. Don't repeat it. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
1 parent 3a0df1b commit c51643b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

initrd/bin/gui-init

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ prompt_totp_mismatch()
547547
{
548548
TRACE_FUNC
549549
if (whiptail_warning --title "TOTP/HOTP code mismatched" \
550-
--yesno "TOTP/HOTP code mismatches could indicate TPM tampering or clock drift.\n\nThe current UTC time is: $(date "+%Y-%m-%d %H:%M:%S %Z")\nIf this is incorrect, set the correct time and check TOTP/HOTP again.\n\nDo you want to change the time?" 0 80) then
550+
--yesno "TOTP/HOTP code mismatches could indicate TPM tampering or clock drift.\n\nThe current UTC time is: $(date "+%Y-%m-%d %H:%M:%S")\nIf this is incorrect, set the correct time and check TOTP/HOTP again.\n\nDo you want to change the time?" 0 80) then
551551
change-time.sh
552552
fi
553553
}

0 commit comments

Comments
 (0)