From 8a5efbd4ce24a156cdcb4d7e23b29012833684a2 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 24 Jul 2022 14:59:43 -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 e72a83b9..4090ccb9 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=26; spc='' + c=0; cw=30; 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=26; spc='' + c=0; cw=30; 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=26; spc='' + c=0; cw=30; spc='' spc1=${cw}-${#REPL_DESC[${rcheck}]} # if [ "${rcheck}" = "nextcloud-data" ] || [ "${rcheck}" = "nextcloud-www" ]; then # timeout=`date --date='2 minutes' +%s`