mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-18 20:47:53 +00:00
Consider ZEROTIER_JOIN_NETWORKS in healthcheck (#1978)
This commit is contained in:
parent
6540107ccb
commit
33b2e6a856
@ -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…
Reference in New Issue
Block a user