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`