1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-10-23 00:09:23 +00:00

Fix wrong message being displayed while waiting for the DNS (#5757)

This commit is contained in:
Dominik 2024-09-09 19:34:02 +02:00 committed by GitHub
commit 53220cb5d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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}."