From 5787c45a032a204dd4f3b14e91355fd7263c9ec8 Mon Sep 17 00:00:00 2001 From: patlol Date: Sat, 22 Jul 2017 19:40:29 +0200 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 e9e5373..603d0a1 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -57,7 +57,7 @@ fi newclient () { # Where to write the custom client.ovpn? - if [ -e /home/$1 ]; then # if $1 is a user ID + if [ -e /home/$1 ]; then # if $1 is a user name homeDir="/home/$1" elif [ -e /home/${SUDO_USER} ]; then # if not, use SUDO_USER homeDir="/home/${SUDO_USER}"