mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-12-18 16:20:40 +08:00
Force returnvalue 1
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user