aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-28 20:51:53 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-28 20:51:53 +0100
commitb49db9ffbe2de1321757769eab946d746234ffcc (patch)
treeae670320f7c66d3b03ebd405e2a6448ff238ef7e
parentAdded a bunch of sleeps (diff)
downloadarch-installer-b49db9ffbe2de1321757769eab946d746234ffcc.tar.gz
arch-installer-b49db9ffbe2de1321757769eab946d746234ffcc.tar.bz2
arch-installer-b49db9ffbe2de1321757769eab946d746234ffcc.tar.xz
arch-installer-b49db9ffbe2de1321757769eab946d746234ffcc.tar.zst
arch-installer-b49db9ffbe2de1321757769eab946d746234ffcc.zip
Some nocancels
-rwxr-xr-xarch-installer.sh8
1 files 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>&-)