From 9e4b7ac66b215558d3ef2ddcb895c33f5878ea3f Mon Sep 17 00:00:00 2001 From: crowetic Date: Tue, 21 May 2024 16:26:29 -0700 Subject: [PATCH] changed wait time upon first version check --- auto-fix-qortal.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto-fix-qortal.sh b/auto-fix-qortal.sh index 8e4be51..85a0f83 100755 --- a/auto-fix-qortal.sh +++ b/auto-fix-qortal.sh @@ -43,8 +43,8 @@ echo "${YELLOW} Checking the version of qortal on local machine VS the version o core_running=$(curl -s localhost:12391/admin/status) if [ -z ${core_running} ]; then - echo "${RED} CORE DOES NOT SEEM TO BE RUNING, WAITING 2 MINUTES IN CASE IT IS STILL STARTING UP... ${NC}\n" - sleep 120 + echo "${RED} CORE DOES NOT SEEM TO BE RUNING, WAITING 1 MINUTE IN CASE IT IS STILL STARTING UP... ${NC}\n" + sleep 60 fi LOCAL_VERSION=$(curl -s localhost:12391/admin/info | grep -oP '"buildVersion":"qortal-\K[^-]*' | sed 's/-.*//' | tr -d '.')