From 110dd001b11f86d34859f82babc21bf4c3f97045 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 14 Jun 2025 11:19:02 -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 4a89826..d5f85a3 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -111,7 +111,7 @@ CHECK(){ c=0; cw=${C_CW}; spc=''; spc1=$(expr ${cw} - ${#MSG}); until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en "${idsCL[LightCyan]}${MSG}${spc}: " fi - if [ -n "$NTS" ] && [ "${1}" != "report" ]; then + if [ -n "${1}" ] && [ "${1}" != "report" ]; then while read hostid hostname hostip hostlimits; do if [ "$hostid" != "id" ]; then hostip=$(echo $hostip | cut -d ";" -f1)