diff --git a/defaults.inc b/defaults.inc index c9a3f17c..513e2ec1 100755 --- a/defaults.inc +++ b/defaults.inc @@ -212,7 +212,7 @@ DISP_HEADER(){ CHECK_HOST_QC(){ if [ ! -z ${1+x} ]; then - ping -c 1 ${1} > /dev/null 2>&1 + ping -qw 10 -c1 ${1} > /dev/null 2>&1 [ $? -ne 0 ] && echo false || echo true else echo false