Wrong case for the warning

This commit is contained in:
Angristan 2018-08-18 19:28:03 +02:00
parent ed5fddbb89
commit 42d2b7456f

View file

@ -122,10 +122,10 @@ if [[ -e /etc/openvpn/server.conf ]]; then
cd /etc/openvpn/easy-rsa/
case $pass in
1)
echo "⚠️ You will be asked for the client password below"
./easyrsa build-client-full $CLIENT nopass
;;
2)
echo "⚠️ You will be asked for the client password below"
./easyrsa build-client-full $CLIENT
;;
esac
@ -501,10 +501,10 @@ WantedBy=multi-user.target" > /etc/systemd/system/iptables.service
./easyrsa build-server-full $SERVER_NAME nopass
case $pass in
1)
echo "⚠️ You will be asked for the client password below"
./easyrsa build-client-full $CLIENT nopass
;;
2)
echo "⚠️ You will be asked for the client password below"
./easyrsa build-client-full $CLIENT
;;
esac