From 2e62bbf11b98fbc2f5164e1898a958384b831de6 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 17 Jun 2023 13:35:27 -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 f09c697..2bafa16 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -280,7 +280,7 @@ RUNCMD(){ checkhost=$(CHECK_HOST ${host_ip[$hostid]}) 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 -t root@${host_ip[$hostid]} ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} + ssh -tt 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