a bit better

This commit is contained in:
Bill Sideris 2022-06-19 12:23:00 +03:00
parent 0b0d1b59b9
commit 8bb8ab96f1

View file

@ -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