Break after pw ok

This commit is contained in:
oddlama 2021-05-31 20:21:33 +02:00
parent 303087aeaf
commit ed602bf3e7
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
1 changed files with 2 additions and 0 deletions

View File

@ -111,7 +111,9 @@ function check_encryption_key() {
[[ "$encryption_key_1" == "$encryption_key_2" ]] \ [[ "$encryption_key_1" == "$encryption_key_2" ]] \
|| { ewarn "Encryption keys mismatch."; continue; } || { ewarn "Encryption keys mismatch."; continue; }
break
done done
export GENTOO_INSTALL_ENCRYPTION_KEY="$encryption_key_1" export GENTOO_INSTALL_ENCRYPTION_KEY="$encryption_key_1"
else else
die "Please export GENTOO_INSTALL_ENCRYPTION_KEY with the desired key." die "Please export GENTOO_INSTALL_ENCRYPTION_KEY with the desired key."