diff --git a/healthcheck.sh b/healthcheck.sh index 19c20cd..85ece96 100644 --- a/healthcheck.sh +++ b/healthcheck.sh @@ -4,11 +4,11 @@ if ! [ -f /tmp/IPv4.json ] && ! [ -f /tmp/IPv6.json ]; then exit 1 fi -if [ -f /tmp/IPv4.json ] && [ "$(cat /tmp/IPv4.json | jq -r .status)" != "success" ]; then +if [ -f /tmp/IPv4.json ] && [ "$(jq -r .status