Update default.inc
This commit is contained in:
@@ -173,7 +173,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 -W 1 ${1} > /dev/null 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo false
|
echo false
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user