From 779b8bbf5a91fd5449fde8b1a2ee7638b5bc7e91 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 11 Mar 2022 19:14:12 -0600 Subject: [PATCH] Update install-dsmon.sh --- install-dsmon.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install-dsmon.sh b/install-dsmon.sh index 26c83f2..f8a806c 100755 --- a/install-dsmon.sh +++ b/install-dsmon.sh @@ -57,8 +57,9 @@ if [ "${SET_SERVERMONID}" = "new" ]; then QRY="USE servermonitor; SELECT id FROM hosts WHERE host='${ADD_SERVERNAME}';" SET_SERVERMONID=`mysql -h mysqldb.scity.us -P 6033 --user=sysmoninsert --password=sysmoninsert -e "${QRY}"` - echo -e "${idsCL[LightGreen]}Server successfully added, it was given ID# ${SET_SERVERMONID//id - /}${idsCL[Default]}" + echo -en "${idsCL[LightGreen]}Server successfully added, it was given ID# " + echo -e ${SET_SERVERMONID//id + /}${idsCL[Default]} echo "" fi