Update defaults.inc

This commit is contained in:
2019-02-07 14:26:32 -06:00
parent 35eb16550a
commit 19595c7d7d

View File

@@ -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