Fixed references to IP(s) to entry/entries in PIHOLE_DNS_ parsing block of start.sh.

Signed-off-by: haxwithaxe <spam@haxwithaxe.net>
This commit is contained in:
haxwithaxe 2022-03-13 22:46:21 -04:00
parent e4a1abb5fb
commit 1c24b96048
1 changed files with 2 additions and 2 deletions

View File

@ -142,11 +142,11 @@ if [ -n "${PIHOLE_DNS_}" ]; then
fi
fi
# If the above tests fail then this is an invalid DNS server
echo "Invalid IP detected in PIHOLE_DNS_: ${i}"
echo "Invalid entry detected in PIHOLE_DNS_: ${i}"
done
if [ $valid_entries -eq 0 ]; then
echo "No Valid IPs dectected in PIHOLE_DNS_. Aborting"
echo "No Valid entries dectected in PIHOLE_DNS_. Aborting"
exit 1
fi
else