Change message for unknown state to something more useful

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2018-08-30 22:28:15 +02:00
parent 40656641b6
commit f20e4ddf3b
No known key found for this signature in database
GPG key ID: 00135ACBD90B28DD

2
pihole
View file

@ -283,7 +283,7 @@ statusFunc() {
# No configs were found # No configs were found
case "${1}" in case "${1}" in
"web") echo 99;; "web") echo 99;;
*) echo -e " ${INFO} No hosts file linked to dnsmasq, adding it in enabled state";; *) echo -e " ${INFO} Pi-hole blocking will be enabled";;
esac esac
# Enable blocking # Enable blocking
pihole enable pihole enable