Change message for unknown state to something more useful

Signed-off-by: DL6ER <dl6er@dl6er.de>
pull/2356/head
DL6ER 6 years ago
parent 40656641b6
commit f20e4ddf3b
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

@ -283,7 +283,7 @@ statusFunc() {
# No configs were found
case "${1}" in
"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
# Enable blocking
pihole enable

Loading…
Cancel
Save