mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-13 02:36:54 +02:00
Consider ZEROTIER_JOIN_NETWORKS in healthcheck (#1978)
This commit is contained in:
parent
6540107ccb
commit
33b2e6a856
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ log_params "Writing healthcheck for networks:" $@
|
|||
|
||||
cat >/healthcheck.sh <<EOF
|
||||
#!/bin/bash
|
||||
for i in $@
|
||||
for i in $@ $ZEROTIER_JOIN_NETWORKS
|
||||
do
|
||||
[ "\$(zerotier-cli get \$i status)" = "OK" ] || exit 1
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue