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:
parent
54a85d3a63
commit
56990618e9
2
pihole
2
pihole
@ -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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user