From 6becf7caa975b5e44d070d5294752d268ee8afcc Mon Sep 17 00:00:00 2001 From: nu11secur1ty Date: Tue, 17 Jan 2023 15:22:33 +0200 Subject: [PATCH] Update openvpn-install.sh --- openvpn-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 311a533..5a969a1 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -1105,13 +1105,13 @@ function newClient() { # if not, use SUDO_USER if [ "${SUDO_USER}" == "root" ]; then # If running sudo as root - homeDir="/root" + homeDir="/etc/openvpn/client/" else homeDir="/home/${SUDO_USER}" fi else # if not SUDO_USER, use /root - homeDir="/root" + homeDir="/etc/openvpn/client" fi # Determine if we use tls-auth or tls-crypt