mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 21:40:01 +08:00
Hide curl output
Hide curl output
This commit is contained in:
commit
ef916e0e0a
@ -13,10 +13,10 @@ fi
|
|||||||
|
|
||||||
IP=$(cat "${FILE}")
|
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}"
|
echo "Failed to reach ${IP}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Healthcheck OK for ${IP}"
|
echo "Healthcheck OK"
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user