fix crap
This commit is contained in:
parent
a78c229e92
commit
e4dc42c9c7
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ else
|
|||
HOSTS="`cat \"$1\"`"
|
||||
fi
|
||||
for HOST in $HOSTS; do
|
||||
ping -c 3 -q $HOST 2>&1 >/dev/null
|
||||
ping -c 3 -q $HOST >/dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
echo -e "\033[1;37m\033[42m[ UP ]\033[0m $HOST"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue