From 3570c156329914f3662f670adea6af18f1468d4e Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 13 Dec 2024 05:11:47 +0300 Subject: [PATCH] minor tweak... Signed-off-by: Alex A. Naanou --- .pct-helpers | 2 -- 1 file changed, 2 deletions(-) diff --git a/.pct-helpers b/.pct-helpers index 40bad92..c29aa9d 100644 --- a/.pct-helpers +++ b/.pct-helpers @@ -287,12 +287,10 @@ xreadpass(){ local PASS2 for attempt in 1 2 3 ; do read -sep "${prefix}${msg}password (Enter to skip): " PASS1 - echo if [ -z $PASS1 ] ; then return fi read -sep "${prefix}retype password: " PASS2 - echo if [[ $PASS1 != $PASS2 ]] ; then echo "ERROR: passwords do not match." >&2 continue