From 223c828429e5401681612d885236c7e04a987b19 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 14 May 2023 17:16:07 -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 1c1ffa1e..b949fd59 100755 --- a/run.sh +++ b/run.sh @@ -5,7 +5,7 @@ source /opt/idssys/defaults/colors.inc source /opt/idssys/defaults/default.inc source /opt/idssys/powerwall/powerwall.conf -if [[ "${noupdate}" != *" ${1} "* ]] && [[ "${noupdate}" != *" ${2} "* ]] && [[ "${1}" != *"service"* ]] && [[ "${2}" != *"service"* ]]; then +if [[ "${noupdate}" != *"${1}"* ]] && [[ "${noupdate}" != *"${2}"* ]] && [[ "${1}" != *"service"* ]] && [[ "${2}" != *"service"* ]]; then if curl -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]}"