From b49db9ffbe2de1321757769eab946d746234ffcc Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 28 Nov 2019 20:51:53 +0100 Subject: Some nocancels --- arch-installer.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch-installer.sh b/arch-installer.sh index ccb4ba8..2c4b442 100755 --- a/arch-installer.sh +++ b/arch-installer.sh @@ -203,11 +203,11 @@ Are you sure you wish to continue?"\ jo_get_root_config() { gogogo=false while [ "$gogogo" = false ]; do - rtpwd=$(dialog --title "$1"\ + rtpwd=$(dialog --nocancel --title "$1"\ --passwordbox "Enter your desired root password:"\ 7 40\ 3>&1 1>&2 2>&3 3>&-) - rtrtpwd=$(dialog --title "$1"\ + rtrtpwd=$(dialog --nocancel --title "$1"\ --passwordbox "Confirm root password:"\ 7 40\ 3>&1 1>&2 2>&3 3>&-) @@ -242,11 +242,11 @@ jo_get_usr_config() { isusr=true gogogo=false while [ "$gogogo" = false ]; do - usrpwd=$(dialog --title "$1"\ + usrpwd=$(dialog --nocancel --title "$1"\ --passwordbox "Enter your desired password for $usr:"\ 7 50\ 3>&1 1>&2 2>&3 3>&-) - usrusrpwd=$(dialog --title "$1"\ + usrusrpwd=$(dialog --nocancel --title "$1"\ --passwordbox "Confirm $usr password:"\ 7 50\ 3>&1 1>&2 2>&3 3>&-) -- cgit v1.2.3