mirror of
https://github.com/pivpn/pivpn.git
synced 2025-01-31 08:49:48 +00:00
Issue #607
InstallScripts function: Added -p flag on mkdir, this fixes script silently exiting if /opt does not exist (Issue #607)
This commit is contained in:
parent
92381fc2a6
commit
412c8e83ac
1 changed files with 1 additions and 1 deletions
|
@ -1888,7 +1888,7 @@ installScripts(){
|
|||
echo ":::"
|
||||
echo -n -e "::: Installing scripts to /opt/pivpn...\n"
|
||||
if [ ! -d /opt/pivpn ]; then
|
||||
$SUDO mkdir /opt/pivpn
|
||||
$SUDO mkdir -p /opt/pivpn
|
||||
$SUDO chown root:root /opt/pivpn
|
||||
$SUDO chmod 0755 /opt/pivpn
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue