Add missing $ on REPLY var

This commit is contained in:
Victor LABORIE 2017-07-20 12:01:59 +02:00
parent f787f4683a
commit 9bca20fc32

View file

@ -72,7 +72,7 @@ create() {
# generate private key
echo -n "Should private key be protected by a passphrase? [y/N] "
read REPLY
if [ "$REPLY" = "y" ] || [ "REPLY" = "Y" ]; then
if [ "$REPLY" = "y" ] || [ "$REPLY" = "Y" ]; then
$OPENSSL genrsa -aes128 -out $DIR/$cn.key 2048
else
$OPENSSL genrsa -out $DIR/$cn.key 2048