diff options
author | Tyler Murphy <tylerm@tylerm.dev> | 2023-10-07 16:03:27 -0400 |
---|---|---|
committer | Tyler Murphy <tylerm@tylerm.dev> | 2023-10-07 16:03:27 -0400 |
commit | 59968fcefa57648559ce8c5501f759ccca6ca027 (patch) | |
tree | 89fa38ef845a62fa10ac6c5a64a5186d4eef8445 | |
parent | fix formatting, add subshell so no quit (diff) | |
download | dotfiles-guix-59968fcefa57648559ce8c5501f759ccca6ca027.tar.gz dotfiles-guix-59968fcefa57648559ce8c5501f759ccca6ca027.tar.bz2 dotfiles-guix-59968fcefa57648559ce8c5501f759ccca6ca027.zip |
return without subshell, otherwise no env
Diffstat (limited to '')
-rwxr-xr-x | guix-strap/guix-crypt | 4 |
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" |