This commit is contained in:
2024-11-29 13:55:24 -06:00
parent f4897c4057
commit 6f1cb0eff6
2 changed files with 2 additions and 1 deletions

2
run.sh
View File

@@ -12,7 +12,7 @@ source /opt/idssys/nodemgmt/defaults.inc
# if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${1}" != "status" ]; then
if [ "${1}" == "update" ] || [ "${1}" == "update-nodes" ]; then
if [ "${1}" == "update-nodes" ]; then
echo -e "${idsCL[LightGreen]}Updating Node-Manager${idsCL[Default]}"
echo -e "\n${idsCL[LightGreen]}Updating Node-Manager${idsCL[Default]}"
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
fi
if curl -m 3 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then