From 444ab9ffc61c55614090a16feec341473ba93dab Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 8 Apr 2023 10:40:42 -0500 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dsmon.sh b/dsmon.sh index 02c6feb..1981bdc 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -293,6 +293,8 @@ RUNCMD(){ if [ "${checkhost}" != "false" ]; then echo -e "${idsST[Bold]}${idsCL[LightCyan]} ${host_name[$hostid]} - Running command: ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10}${idsCL[Default]}${idsST[Reset]}" ssh root@${host_ip[$hostid]} ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} + else + echo -e "${idsST[Bold]}${idsCL[Red]} ${host_name[$hostid]} - Timeout${idsCL[Default]}${idsST[Reset]}" fi done }