From 7a2202e9f37a57ca6812705746193b9cb903ffb5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 15 May 2023 20:39:15 -0500 Subject: [PATCH] Update run.sh --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 5041c18..cb8e683 100755 --- a/run.sh +++ b/run.sh @@ -5,7 +5,7 @@ source /opt/idssys/defaults/default.inc source /opt/idssys/pibackup/settings.inc if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then - if curl -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then + if curl -m 5 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then if [ "${2}" != "q" ]; then echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}" echo ""