diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 8c6c61c..e68e337 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -446,9 +446,9 @@ Your newly created PKI dir is: $EASYRSA_PKI hide_read_pass() { - (set +o echo 2>/dev/null) && set +o echo || stty -echo + (set +o echo 2>/dev/null) || stty -echo read -r "$@" - (set -o echo 2>/dev/null) && set -o echo || stty echo + (set -o echo 2>/dev/null) || stty echo } # => hide_read_pass() # build-ca backend: