From c4bf848cd07745e4589b2a05580ebe5c5a2ebbaa Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 14 Jun 2025 11:58:39 -0500 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dsmon.sh b/dsmon.sh index 3e9238d..197945f 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -191,10 +191,9 @@ RUN_CHECK(){ MSG=" ${host_name[$hostid]} - (${host_ip[$hostid]})" c=0; cw=85; spc=''; spc1=`expr ${cw} - ${#MSG}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done - # DIVIDER 1 white ${cw} - echo + DIVIDER 1 white ${cw} echo -e "${idsBG[Blue]}${idsCL[White]}${MSG}${spc}${idsST[Reset]}" - DIVIDER . white ${cw} + DIVIDER . . ${cw} checkhost=$(CHECK_HOST ${host_ip[$hostid]}) if [ "${checkhost}" != "false" ]; then