From 7ac6a030b138a6d47ee24af79c34c39011bac03a Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sun, 17 Jan 2016 00:36:46 -0600 Subject: [PATCH] Fix small error in grep command for CentOS VPN script --- vpnsetup_centos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpnsetup_centos.sh b/vpnsetup_centos.sh index e24125a..83a4930 100644 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -67,7 +67,7 @@ if [ ! -f /etc/redhat-release ]; then exit 1 fi -if grep -qs -v -e "release 6" -e "release 7" /etc/redhat-release; then +if ! grep -qs -e "release 6" -e "release 7" /etc/redhat-release; then echo "Sorry, this script only supports versions 6 and 7 of CentOS/RHEL." exit 1 fi