From f792620a5bc1193d1b3d7b8d02797e9faf79e6bb Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 13 Jun 2025 20:47:43 -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 f40483d..a56c6e7 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -145,7 +145,7 @@ CHECK(){ NTS=$(grep -oP '(?<=dscheck.).*?(?=.done)' <<< "${host}") if [ "${NTS}" != "*" ]; then hoststatus=$(cat /tmp/dscheck.${NTS}.results) - [ "${hoststatus}" != "" ] && echo -e "${hoststatus}" || echo + [ "${hoststatus}" != "" ] && echo -e "${hoststatus}" rm -f /tmp/dscheck.${NTS}.* ((nc_count++)) fi