From bdc931ff78438fa7462484e3b4c0be81ebfa0575 Mon Sep 17 00:00:00 2001 From: khushveer5 <52640695+khushveer5@users.noreply.github.com> Date: Mon, 9 Aug 2021 11:07:21 +0530 Subject: [PATCH] Update openvpn-install.sh --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 4df5783..8277e6a 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -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