diff --git a/mm-scripts.sh b/mm-scripts.sh index 5239324..0d1658d 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -77,9 +77,8 @@ MMSTOP(){ MMSTATUS(){ for srvc in "${SERVICES_CHECK[@]}"; do - c=0; cw=40 spc='' + c=0; cw=34 spc='' spc1=$((${cw}-${#NM_SERVICES[${srvc}]})) - echo $spc1 until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en " ${NM_SERVICES[${srvc}]}$spc: "