Update openvpn-install.sh

This commit is contained in:
Gizem Gür 2018-04-19 22:18:54 +03:00 committed by GitHub
parent a3da17b929
commit 688e79cfd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,6 @@
#!/bin/bash #!/bin/bash
# OpenVPN road warrior installer for Debian and Ubuntu # OpenVPN road warrior installer for Debian and Ubuntu
# Detect Debian users running the script with "sh" instead of bash # Detect Debian users running the script with "sh" instead of bash
if readlink /proc/$$/exe | grep -qs "dash"; then if readlink /proc/$$/exe | grep -qs "dash"; then
echo "This script needs to be run with bash, not sh" echo "This script needs to be run with bash, not sh"