Missing [

This commit is contained in:
Angristan 2018-07-05 22:46:25 +02:00
parent 8664adde59
commit d1ab72b1d6

View file

@ -508,7 +508,7 @@ WantedBy=multi-user.target" > /etc/systemd/system/iptables.service
elif [[ "$PROTOCOL" = 'TCP' ]]; then
echo "proto tcp" >> /etc/openvpn/server.conf
fi
elif [ "$IPV6" = 'y' ]]; then
elif [[ "$IPV6" = 'y' ]]; then
if [[ "$PROTOCOL" = 'UDP' ]]; then
echo "proto udp6" >> /etc/openvpn/server.conf
elif [[ "$PROTOCOL" = 'TCP' ]]; then