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