Update default.inc
This commit is contained in:
@@ -238,6 +238,7 @@ service_exists() {
|
|||||||
|
|
||||||
CHECK_HOST(){
|
CHECK_HOST(){
|
||||||
|
|
||||||
|
|
||||||
if [ ! -z ${1+x} ]; then
|
if [ ! -z ${1+x} ]; then
|
||||||
ping -c 3 ${1} > /dev/null 2>&1
|
ping -c 3 ${1} > /dev/null 2>&1
|
||||||
[ $? -ne 0 ] && echo false || echo true
|
[ $? -ne 0 ] && echo false || echo true
|
||||||
|
|||||||
Reference in New Issue
Block a user