mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Hide curl output
This commit is contained in:
parent
f5fb0eabf1
commit
e316e8aca2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user