This commit is contained in:
2019-02-07 14:25:12 -06:00
parent 5556dc887d
commit e9fb66aae5
2 changed files with 13 additions and 11 deletions

View File

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