Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -117,7 +117,7 @@ CHECK(){
|
||||
echo -en "${idsCL[LightCyan]}${MSG}${spc}: "
|
||||
fi
|
||||
if [ -n "${1}" ] && [ "${1}" != "report" ]; then
|
||||
while read hostid hostname hostip hostlimits; do
|
||||
while read hostid hostname hostname_full hostip hostlimits; do
|
||||
if [ "$hostid" != "id" ]; then
|
||||
hostip=$(echo $hostip | cut -d ";" -f1)
|
||||
# echo "$hostid - $hostip - $hostname - $hostlimits"
|
||||
|
||||
Reference in New Issue
Block a user