Update defaults.inc

This commit is contained in:
2019-02-07 14:25:52 -06:00
parent e9fb66aae5
commit 35eb16550a

View File

@@ -114,8 +114,9 @@ CERT-CHECK(){
} }
CHECK_HOST(){ CHECK_HOST(){
echo ${1}
if [ -z ${1+x} ]; then if [ -z ${1+x} ]; then
echo ${1}
ping -c 3 ${1} > /dev/null 2>&1 ping -c 3 ${1} > /dev/null 2>&1
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo false echo false