From 5e338f7ea479042c22df2f29ba499dcdfad0ecbe Mon Sep 17 00:00:00 2001 From: Zoey Date: Sun, 22 Oct 2023 18:59:05 +0200 Subject: [PATCH] fix shellcheck Signed-off-by: Zoey --- healthcheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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