diff --git a/dsmon.sh b/dsmon.sh index 585cd5c..5470d5c 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -350,7 +350,7 @@ GETCRONTAB(){ else nmip= fi - echo ${mysqlip} + if [ "${nmip}" != "" ]; then while read host hostname; do if [ "${host}" != "host" ]; then