mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Added space behind :53 to only match port 53
This commit is contained in:
parent
9170488b0a
commit
d0cd39a25f
1 changed files with 1 additions and 1 deletions
2
pihole
2
pihole
|
@ -185,7 +185,7 @@ piholeLogging() {
|
|||
}
|
||||
|
||||
piholeStatus() {
|
||||
if [[ $(netstat -plnt | grep -c ':53') > 0 ]]; then
|
||||
if [[ $(netstat -plnt | grep -c ':53 ') > 0 ]]; then
|
||||
if [[ "${1}" != "web" ]] ; then
|
||||
echo "::: DNS service is running"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue