diff --git a/defaults.inc b/defaults.inc index 38ad9d7c..814b85ea 100755 --- a/defaults.inc +++ b/defaults.inc @@ -114,9 +114,8 @@ CERT-CHECK(){ } CHECK_HOST(){ - if [ -z ${1+x} ]; then + if [ ! -z ${1+x} ]; then echo ${1} - ping -c 3 ${1} > /dev/null 2>&1 if [ $? -ne 0 ]; then echo false