From 58a5282e17b7556fe0513fd897bddd1830902cd3 Mon Sep 17 00:00:00 2001 From: patlol Date: Sat, 22 Jul 2017 21:08:06 +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 3e19335..c5c0f77 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -59,7 +59,7 @@ newclient () { # Where to write the custom client.ovpn? if [ -e /home/$1 ]; then # if $1 is a user name homeDir="/home/$1" - elif [ ${SUDO_USER} ]; then # if not, use SUDO_USER + elif [ ${SUDO_USER} ]; then # if not, use SUDO_USER homeDir="/home/${SUDO_USER}" else # if not SUDO_USER, use /root homeDir="/root"