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:
parent
e4a1abb5fb
commit
1c24b96048
4
start.sh
4
start.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue