Break after pw ok
This commit is contained in:
parent
303087aeaf
commit
ed602bf3e7
|
@ -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."
|
||||||
|
|
Loading…
Reference in New Issue