1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-11-24 05:56:08 +03:00

Update openvpn-install.sh

This commit is contained in:
khushveer5 2021-08-09 11:07:21 +05:30 committed by GitHub
parent 4f737ac2f8
commit bdc931ff78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ if [[ "$EUID" -ne 0 ]]; then
exit
fi
if [[ ! -e /dev/net/tun ]] || ! ( exec 7<>/dev/net/tun ) 2>/dev/null; then
if [[ ! -e /dev/tun ]] || ! ( exec 7<>/dev/net/tun ) 2>/dev/null; then
echo "The system does not have the TUN device available.
TUN needs to be enabled before running this installer."
exit