summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xguix-strap/guix-crypt4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix-strap/guix-crypt b/guix-strap/guix-crypt
index ec099ff..f9925f3 100755
--- a/guix-strap/guix-crypt
+++ b/guix-strap/guix-crypt
@@ -27,14 +27,14 @@ get_password() {
read -s -p "Confirm password: " PASSWORD_CONFIRM
printf "\n"
if [ "$PASSWORD" == "$PASSWORD_CONFIRM" ]; then
- exit 0
+ return
else
ERROR "Passwords do not match"
get_password
fi
}
-(get_password);
+get_password
EVENT "Setting up luks"