From fd99d160e83550518b754fd1eb7f9b4925c08ae0 Mon Sep 17 00:00:00 2001 From: Kyle Rankin Date: Tue, 3 Jul 2018 12:40:52 -0700 Subject: [PATCH] Improve status messages for Librem Key HOTP output --- initrd/bin/gui-init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/initrd/bin/gui-init b/initrd/bin/gui-init index 9e75b42a..957ebba4 100755 --- a/initrd/bin/gui-init +++ b/initrd/bin/gui-init @@ -139,14 +139,14 @@ while true; do libremkey_hotp_verification check $HOTP case "$?" in 0 ) - HOTP="success" + HOTP="Success" ;; 4 ) - HOTP="invalid code" + HOTP="Invalid code" MAIN_MENU_BG_COLOR=$CONFIG_ERROR_BG_COLOR ;; * ) - HOTP="error checking code" + HOTP="Error checking code, Insert Librem Key and retry" MAIN_MENU_BG_COLOR=$CONFIG_WARNING_BG_COLOR ;; esac