zerotier: make sure the /var/lib exists

Signed-off-by: Moritz Warning <moritzwarning@web.de>
pull/9937/head
Moritz Warning 2019-09-08 17:18:47 +02:00
parent 2da998768b
commit 43cca9cddc
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,9 @@ start_instance() {
return return
fi fi
# ensure that the symlink target exists
mkdir -p $(dirname $path)
ln -s $config_path $path ln -s $config_path $path
fi fi