diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index b4e2b061..cc3475f5 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -284,10 +284,12 @@ STATUS(){ if [ "${ST_ACTION}" != "check" ]; then c=0; cw=22; spc='' spc1=${cw}-${#REPL_DESC[${rcheck}]} - if [ "${rcheck}" = "nextcloud-data" ] OR [ "${rcheck}" = "nextcloud-www" ]; then + if [ "${rcheck}" = "nextcloud-data" ] || [ "${rcheck}" = "nextcloud-www" ]; then timeout=`date --date='2 minutes' +%s` + t='2min' else timeout=`date --date='20 seconds' +%s` + t='20secs' fi until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en " ${REPL_DESC[${rcheck}]}${spc}: " @@ -300,7 +302,7 @@ STATUS(){ fi - echo "TIMEOUT: ${rcheck} - ${timeout}" + echo "TIMEOUT: ${rcheck} - ${t}" checked=false until [ "${checked}" = "" ]; do