This is an automated email from the ASF dual-hosted git repository.

yangjiaqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git


The following commit(s) were added to refs/heads/master by this push:
     new e8fb2696d chore: fix curl failed to request https urls (#2378)
e8fb2696d is described below

commit e8fb2696d6154f20fd4d6e45ca58763e69145116
Author: Simon Cheung <[email protected]>
AuthorDate: Tue Dec 5 21:50:02 2023 +0800

    chore: fix curl failed to request https urls (#2378)
---
 hugegraph-server/hugegraph-dist/src/assembly/static/bin/util.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hugegraph-server/hugegraph-dist/src/assembly/static/bin/util.sh 
b/hugegraph-server/hugegraph-dist/src/assembly/static/bin/util.sh
index 64980403b..fa3f94a21 100755
--- a/hugegraph-server/hugegraph-dist/src/assembly/static/bin/util.sh
+++ b/hugegraph-server/hugegraph-dist/src/assembly/static/bin/util.sh
@@ -141,7 +141,7 @@ function wait_for_startup() {
             return 1
         fi
 
-        status=$(curl -I -s -w "%{http_code}" -o /dev/null "$server_url")
+        status=$(curl -I -s -k -w "%{http_code}" -o /dev/null "$server_url")
         if [[ $status -eq 200 || $status -eq 401 ]]; then
             echo "OK"
             echo "Started [pid $pid]"

Reply via email to