From 1ed480e374b7fdedc98dabf20332fe397f4dac77 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 4 Jul 2023 20:20:38 -0500 Subject: [PATCH] Update run.sh --- run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 4cfb245d..5ceb98c7 100755 --- a/run.sh +++ b/run.sh @@ -10,7 +10,8 @@ source /opt/idssys/defaults/default.inc source /opt/idssys/nodemgmt/settings.conf source /opt/idssys/nodemgmt/defaults.inc -if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${1}" != "status" ]; then +# if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${1}" != "status" ]; then +if [ "${1}" == "update" ]; 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]}"