From efb93c5556034883e0af2528e38c09ba50b8263c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 24 Jul 2022 14:57:10 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index d58fb73f..e72a83b9 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -77,7 +77,7 @@ STATUS(){ fi for srvc in "${LOCAL_SERVICES[@]}"; do if [ "${ST_ACTION}" != "check" ]; then - c=0; cw=22; spc='' + c=0; cw=26; spc='' spc1=${cw}-${#NM_SERVICES[${srvc}]} until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en " ${NM_SERVICES[${srvc}]}$spc: " @@ -166,7 +166,7 @@ STATUS(){ fi if [ ${NOGOCHK} = true ]; then if [ "${ST_ACTION}" != "check" ]; then - c=0; cw=22; spc='' + c=0; cw=26; spc='' spc1=${cw}-${#NM_SERVICES[${srvc}]} until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en " ${NM_SERVICES[${srvc}]}$spc: " @@ -284,7 +284,7 @@ STATUS(){ # timeout=`date --date='20 seconds' +%s` for rcheck in "${!var2}"; do if [ "${ST_ACTION}" != "check" ]; then - c=0; cw=22; spc='' + c=0; cw=26; spc='' spc1=${cw}-${#REPL_DESC[${rcheck}]} # if [ "${rcheck}" = "nextcloud-data" ] || [ "${rcheck}" = "nextcloud-www" ]; then # timeout=`date --date='2 minutes' +%s`