From f5897a6ef080b6d74d9b0baf940d50dc06d6d59f Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Sat, 7 Oct 2023 15:54:03 -0400 Subject: [PATCH] fix formatting, add subshell so no quit --- guix-strap/guix-crypt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"