From 2ea469359c357395110a0bfc951d0b6d1c7e9141 Mon Sep 17 00:00:00 2001 From: 4s3ti <4s3ti@protonmail.com> Date: Wed, 8 Jan 2020 13:13:34 +0100 Subject: [PATCH] Issue #607 Added -p on mkdir /opt/pivpn this fixes issue #607 --- auto_install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index b3dea5d..05241e1 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -400,7 +400,7 @@ installScripts() { $SUDO echo ":::" $SUDO echo -n "::: Installing scripts to /opt/pivpn..." if [ ! -d /opt/pivpn ]; then - $SUDO mkdir /opt/pivpn + $SUDO mkdir -p /opt/pivpn $SUDO chown "$INSTALL_USER":root /opt/pivpn $SUDO chmod 0755 /opt/pivpn fi