Browse Source

Fix multiple network join from environment entrypoint.sh.release (#1961)

Leonardo Amaral 2 years ago
parent
commit
7f63d896f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      entrypoint.sh.release

+ 1 - 1
entrypoint.sh.release

@@ -81,7 +81,7 @@ done
 if [ "x$ZEROTIER_JOIN_NETWORKS" != "x" ]
 if [ "x$ZEROTIER_JOIN_NETWORKS" != "x" ]
 then
 then
   log_params "Joining networks from environment:" $ZEROTIER_JOIN_NETWORKS
   log_params "Joining networks from environment:" $ZEROTIER_JOIN_NETWORKS
-  for i in "$ZEROTIER_JOIN_NETWORKS"
+  for i in $ZEROTIER_JOIN_NETWORKS
   do
   do
     log_detail_params "Configuring join:" "$i"
     log_detail_params "Configuring join:" "$i"
     touch "/var/lib/zerotier-one/networks.d/${i}.conf"
     touch "/var/lib/zerotier-one/networks.d/${i}.conf"