From 9bca20fc32cf29b9e1615f7b8dbf3b186ada7c6a Mon Sep 17 00:00:00 2001 From: Victor LABORIE Date: Thu, 20 Jul 2017 12:01:59 +0200 Subject: [PATCH] Add missing $ on REPLY var --- shellpki.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shellpki.sh b/shellpki.sh index 183704e..7c180e8 100755 --- a/shellpki.sh +++ b/shellpki.sh @@ -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