Hide curl output

Hide curl output
This commit is contained in:
Kroese 2023-04-21 20:59:38 +02:00 committed by GitHub
commit ef916e0e0a

View File

@ -13,10 +13,10 @@ fi
IP=$(cat "${FILE}")
if ! curl -m 3 -ILfSs "http://${IP}:${PORT}/"; then
if ! curl -m 3 -ILfSs "http://${IP}:${PORT}/" > /dev/null; then
echo "Failed to reach ${IP}"
exit 1
fi
echo "Healthcheck OK for ${IP}"
echo "Healthcheck OK"
exit 0