diff --git a/openvpn-install.sh b/openvpn-install.sh index f384ddc..062627f 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -20,7 +20,7 @@ if [[ ! -e /dev/net/tun ]]; then fi -if grep -q "CentOS release 5" "/etc/redhat-release"; then +if grep -qs "CentOS release 5" "/etc/redhat-release"; then echo "CentOS 5 is too old and not supported" exit fi