mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 21:17:52 +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
|
cat >/healthcheck.sh <<EOF
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
for i in $@
|
for i in $@ $ZEROTIER_JOIN_NETWORKS
|
||||||
do
|
do
|
||||||
[ "\$(zerotier-cli get \$i status)" = "OK" ] || exit 1
|
[ "\$(zerotier-cli get \$i status)" = "OK" ] || exit 1
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user