From 8bb8ab96f19b214148e4b44e0b202eb21a4b4c90 Mon Sep 17 00:00:00 2001 From: Bill Sideris Date: Sun, 19 Jun 2022 12:23:00 +0300 Subject: [PATCH] a bit better --- DockerHealthcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DockerHealthcheck.sh b/DockerHealthcheck.sh index 0dd14d5b6..7459e6dbc 100755 --- a/DockerHealthcheck.sh +++ b/DockerHealthcheck.sh @@ -1,5 +1,5 @@ #!/bin/sh -if wget --spider -S "127.0.0.1:8080/login" 2>&1 | grep -w "200" ; then +if wget --spider -S "127.0.0.1:8080/login" 2>&1 | grep -w "HTTP/1.1 200 OK" ; then exit 0 else exit 1