Fix small error in grep command for CentOS VPN script
This commit is contained in:
parent
89555dc425
commit
7ac6a030b1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user