mirror of
https://github.com/zyclonite/zerotier-docker.git
synced 2024-12-04 21:40:43 +01:00
Update healthcheck.sh
Changes as proposed by @Paraphraser
This commit is contained in:
parent
041d91d329
commit
df137fb035
@ -7,7 +7,7 @@
|
||||
|
||||
status=$(zerotier-cli status | awk '{print $5}')
|
||||
|
||||
if [[ $status = "ONLINE" ]]; then
|
||||
if [[ "$status" = "ONLINE" ]] ; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user