From acf0d83730cdfde0af2677d6faded66b4c926b95 Mon Sep 17 00:00:00 2001 From: Lutchy Horace Date: Wed, 17 Mar 2021 18:25:33 -0400 Subject: [PATCH] Correct curl --max-time value --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 83952f3..62cf12a 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -32,7 +32,7 @@ function validate_host if [ $? -eq 0 ]; then debug "Checking host is resolvable: $1" # Add --insecure becase remote servers may sometimes have self-signed certs - if ! curl --insecure --max-time 5.5 $1 > /dev/null 2>&1; then + if ! curl --insecure --max-time 5 $1 > /dev/null 2>&1; then _ret=1 debug "Host '$1' is not resolvable!" fi