From 8a9f77c7c651879d7df0d23b62f7182b6cae9a0c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 2 Jan 2023 11:44:00 -0600 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsmon.sh b/dsmon.sh index 366ecfa..a7758db 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -201,7 +201,7 @@ CHECK(){ c=0; cw=8; spcD='' spc4=`expr ${cw} - ${#DRIVEINFO_TOT[$DRIVE]}` - until [ $c = ${spc3} ]; do spcC="${spcC} "; c=`expr $c + 1`; done + until [ $c = ${spc4} ]; do spcD="${spcD} "; c=`expr $c + 1`; done echo -e "${idsCL[Cyan]} ${DRIVE}${spcA}:${idsCL[$fs_status_color]} ${DRIVEINFO_FREE[$DRIVE]} GB Free${spcB}${DRIVEINFO_FREEPER[$DRIVE]}%${spcC}(${DRIVEINFO_TOT[$DRIVE]} GB Total)${spcD}(${WARNING_LEVEL}/${CRITICAL_LEVEL})${idsCL[Default]}" done