Update healthcheck.sh

Changes as proposed by @Paraphraser
This commit is contained in:
gb-123-git 2024-08-21 09:08:33 +05:30 committed by GitHub
parent 041d91d329
commit df137fb035
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@
status=$(zerotier-cli status | awk '{print $5}')
if [[ $status = "ONLINE" ]]; then
if [[ "$status" = "ONLINE" ]] ; then
exit 0
else
exit 1