From 55b6c81ecafcdafc7c1eddaa7ef30334cf09cc9e Mon Sep 17 00:00:00 2001 From: RJ Johnston Date: Mon, 3 Feb 2025 18:31:59 -0500 Subject: [PATCH] fix: Increase curl max-time to 15 seconds for connectivity check --- installers/raspbian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/raspbian.sh b/installers/raspbian.sh index 66145ace..8d8c669a 100755 --- a/installers/raspbian.sh +++ b/installers/raspbian.sh @@ -299,7 +299,7 @@ function _check_internet() { tput civis # hide cursor # run check in background - ( curl -Is --connect-timeout 3 --max-time 5 https://github.com | head -n 1 | grep "HTTP/2 200" >/dev/null ) & + ( curl -Is --connect-timeout 3 --max-time 15 https://github.com | head -n 1 | grep "HTTP/2 200" >/dev/null ) & local pid=$! # display spinner while curl runs