summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xguix-strap/guix-crypt4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix-strap/guix-crypt b/guix-strap/guix-crypt
index 24f6492..ec099ff 100755
--- a/guix-strap/guix-crypt
+++ b/guix-strap/guix-crypt
@@ -23,7 +23,9 @@ fi
get_password() {
read -s -p "LUKS password: " PASSWORD
+ printf "\n"
read -s -p "Confirm password: " PASSWORD_CONFIRM
+ printf "\n"
if [ "$PASSWORD" == "$PASSWORD_CONFIRM" ]; then
exit 0
else
@@ -32,7 +34,7 @@ get_password() {
fi
}
-get_password
+(get_password);
EVENT "Setting up luks"