diff --git a/dsmon.sh b/dsmon.sh index c214e52..4aa5ba8 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -171,7 +171,7 @@ CHECK(){ # echo if [ "${1}" != "report" ]; then - c=0; cw=30; spcA='' + c=0; cw=20; spcA='' spc1=`expr ${cw} - 5` until [ $c = ${spc1} ]; do spcA="${spcA} "; c=`expr $c + 1`; done c=0; cw=10; spcB='' @@ -196,7 +196,7 @@ CHECK(){ CRITICAL_LEVEL=$(printf "%0.2f" $(jq -n $WARNING_LEVEL-$WARNING_LEVEL/2)) if [ "${1}" != "report" ]; then - c=0; cw=30; spcA='' + c=0; cw=20; spcA='' spc1=`expr ${cw} - ${#DRIVEINFO_SHORTNAME[$DRIVE]}` until [ $c = ${spc1} ]; do spcA="${spcA} "; c=`expr $c + 1`; done c=0; cw=10; spcB=''