From 364f94948944c74af5c19f6dd710bba455f075e8 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 2 Jan 2023 15:54:41 -0600 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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=''