mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-29 09:33:16 +00:00
Fix wrong message being displayed while waiting for the DNS (#5757)
This commit is contained in:
commit
53220cb5d6
1 changed files with 2 additions and 1 deletions
|
@ -304,7 +304,8 @@ gravity_CheckDNSResolutionAvailable() {
|
||||||
echo -e " ${CROSS} DNS resolution is currently unavailable"
|
echo -e " ${CROSS} DNS resolution is currently unavailable"
|
||||||
fi
|
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
|
until getent hosts github.com &> /dev/null; do
|
||||||
# Append one dot for each second waiting
|
# Append one dot for each second waiting
|
||||||
str="${str}."
|
str="${str}."
|
||||||
|
|
Loading…
Reference in a new issue