Browse Source

zerotier: fix 'unknown operand' error

Signed-off-by: Moritz Warning <moritzwarning@web.de>
lilik-openwrt-22.03
Moritz Warning 7 years ago
parent
commit
cf63e76698
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/zerotier/files/zerotier.init

+ 1
- 1
net/zerotier/files/zerotier.init 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


Loading…
Cancel
Save