From b61d24bc228833867fb40b63443b4e8baae7b360 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 5 Jul 2025 14:32:34 -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 8676e18..5b23d29 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -543,7 +543,7 @@ GETCRONTABS(){ checkhost=$(CHECK_HOST ${host_ip[$hostid]}) if [ "${checkhost}" != "false" ]; then echo -e "${idsST[Bold]}${idsCL[LightCyan]} ${host_name[$hostid]} - Gathering Crontabs, and copycerts.sh if it exists ... ${idsCL[Default]}${idsST[Reset]}" - ${SSHCMD} root@${host_ip[$hostid]} dsmon get-crontab ${rtpsswd} & + output=$(${SSHCMD} root@${host_ip[$hostid]} dsmon get-crontab ${rtpsswd}) & else echo -e "${idsST[Bold]}${idsCL[Red]} ${host_name[$hostid]} - Timeout${idsCL[Default]}${idsST[Reset]}" fi