Commit f978f600 authored by 智勇's avatar 智勇
parents 294b5d5a 39d975e9
......@@ -8,7 +8,7 @@
# 返回2xx, 就绪
# 其他, 就绪
statusCode=`curl -I -o /dev/null -s -w %{http_code} http://localhost`
statusCode=`curl -I -X HEAD -o /dev/null -s -w %{http_code} -H "Connection: close" http://localhost`
echo "statusCode: ${statusCode}"
statusCodeFirst="${statusCode:0:1}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment