From 169a8f7999ea0b35d8ffe0cab6511b31ac2cc749 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 14 Jun 2025 11:37:48 -0500 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsmon.sh b/dsmon.sh index 1ad1026..4996dc0 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -190,7 +190,7 @@ RUN_CHECK(){ hostid=${host_ids[$hostname]} MSG=" ${host_name[$hostid]} - (${host_ip[$hostid]})" - c=0; cw=85; spc=''; spc1=`expr ${cw} - ${#MSG}`; until [ $c = ${spc1} ]; do spc="${spcA} "; c=`expr $c + 1`; done + c=0; cw=85; spc=''; spc1=`expr ${cw} - ${#MSG}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -e "${idsST[Bold]}"; DIVIDER false lightCyan ${cw} echo -e "${idsBG[Blue]}${idsCL[White]}${MSG}${spc}${idsST[Reset]}" DIVIDER false lightCyan ${cw}