zerotier: fix 'unknown operand' error

Signed-off-by: Moritz Warning <moritzwarning@web.de>
This commit is contained in:
Moritz Warning 2018-04-10 10:05:55 +02:00
parent 7103c62b61
commit cf63e76698
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ start_instance() {
rm -rf $CONFIG_PATH
# Create link from CONFIG_PATH to config_path
if [ -n "$config_path" -a $config_path != $CONFIG_PATH ]; then
if [ -n "$config_path" -a "$config_path" != $CONFIG_PATH ]; then
if [ ! -d "$config_path" ]; then
echo "ZeroTier config_path does not exist: $config_path"
return