Add missing $ on REPLY var
This commit is contained in:
parent
f787f4683a
commit
9bca20fc32
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue