mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-03 04:30:55 +00:00
Added space behind :53 to only match port 53
This commit is contained in:
parent
9170488b0a
commit
d0cd39a25f
2
pihole
2
pihole
@ -185,7 +185,7 @@ piholeLogging() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
piholeStatus() {
|
piholeStatus() {
|
||||||
if [[ $(netstat -plnt | grep -c ':53') > 0 ]]; then
|
if [[ $(netstat -plnt | grep -c ':53 ') > 0 ]]; then
|
||||||
if [[ "${1}" != "web" ]] ; then
|
if [[ "${1}" != "web" ]] ; then
|
||||||
echo "::: DNS service is running"
|
echo "::: DNS service is running"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user