diff --git a/gravity.sh b/gravity.sh index cf22065a..16e459c6 100755 --- a/gravity.sh +++ b/gravity.sh @@ -356,7 +356,7 @@ gravity_CheckDNSResolutionAvailable() { if getent hosts github.com &> /dev/null; then # If we reach this point, DNS resolution is available echo -e "${OVER} ${TICK} DNS resolution is available" - break + return 0 fi # Append one dot for each second waiting echo -ne "."