From ed602bf3e7d533614934c1a7b064d5cb74cb7bae Mon Sep 17 00:00:00 2001 From: oddlama Date: Mon, 31 May 2021 20:21:33 +0200 Subject: [PATCH] Break after pw ok --- scripts/functions.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/functions.sh b/scripts/functions.sh index 4aeda6e..e80b2fb 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -111,7 +111,9 @@ function check_encryption_key() { [[ "$encryption_key_1" == "$encryption_key_2" ]] \ || { ewarn "Encryption keys mismatch."; continue; } + break done + export GENTOO_INSTALL_ENCRYPTION_KEY="$encryption_key_1" else die "Please export GENTOO_INSTALL_ENCRYPTION_KEY with the desired key."