1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-31 19:20:54 +00:00

Prevent Block Page issue

* Block Page expects to see a full stop, otherwise it will throw an unhandled error
This commit is contained in:
WaLLy3K 2017-09-18 01:12:19 +10:00 committed by GitHub
parent 54a85d3a63
commit 56990618e9

2
pihole
View File

@ -183,7 +183,7 @@ Options:
fileName="${result%%.*}" fileName="${result%%.*}"
if [[ -n "${blockpage}" ]]; then if [[ -n "${blockpage}" ]]; then
echo "π ${fileName}" echo "π ${result}"
exit 0 exit 0
elif [[ -n "${exact}" ]]; then elif [[ -n "${exact}" ]]; then
echo " ${matchType^} found in ${COL_BOLD}${fileName^}${COL_NC}" echo " ${matchType^} found in ${COL_BOLD}${fileName^}${COL_NC}"