diff --git a/kubernetes/apps/media/prowlarr/app/configmap.yaml b/kubernetes/apps/media/prowlarr/app/configmap.yaml index 259c6790..6350d5e3 100644 --- a/kubernetes/apps/media/prowlarr/app/configmap.yaml +++ b/kubernetes/apps/media/prowlarr/app/configmap.yaml @@ -6,8 +6,7 @@ data: health-check.sh: | #!/bin/sh response=$(wget -q -O- http://localhost/ping | jq -r '.status') - if [ "$response" = "OK" ]; then - exit 0 - else + if [ "$response" != "OK" ]; then + echo "$response" exit 1 fi