Force returnvalue 1

This commit is contained in:
Kroese 2023-04-22 17:00:13 +02:00 committed by GitHub
parent f86539d9e4
commit 333836395e

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -eu set -u
# Docker Healthcheck # Docker Healthcheck
@ -14,7 +14,6 @@ fi
IP=$(cat "${FILE}") IP=$(cat "${FILE}")
if ! curl -m 3 -ILfSs "http://${IP}:${PORT}/" > /dev/null; then if ! curl -m 3 -ILfSs "http://${IP}:${PORT}/" > /dev/null; then
echo "Failed to reach ${IP}:${PORT}"
exit 1 exit 1
fi fi