Update mm-scripts.sh

This commit is contained in:
2022-01-23 14:50:04 -06:00
parent 0f0fdc49ae
commit fa4ee54531

View File

@@ -78,7 +78,7 @@ MMSTOP(){
MMSTATUS(){
for srvc in "${SERVICES_CHECK[@]}"; do
c=0; cw=22; spc=''
spc1=${cw} - ${#NM_SERVICES[${srvc}]}
spc1=${expr ${cw}-${#NM_SERVICES[${srvc}]} }
echo $spc1
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
echo -en " ${NM_SERVICES[${srvc}]}$spc: "