Fix wrong message being displayed while waiting for DNS

Signed-off-by: Jack'lul <jacklulcat@gmail.com>
This commit is contained in:
Jack'lul 2024-09-09 18:37:17 +02:00
parent 1789b1ce99
commit 129272a695
No known key found for this signature in database
GPG key ID: A77E952141EFDABA

View file

@ -304,7 +304,8 @@ gravity_CheckDNSResolutionAvailable() {
echo -e " ${CROSS} DNS resolution is currently unavailable"
fi
echo -e " ${INFO} Waiting until DNS resolution is available..."
str="Waiting until DNS resolution is available..."
echo -ne " ${INFO} ${str}"
until getent hosts github.com &> /dev/null; do
# Append one dot for each second waiting
str="${str}."