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