Added space behind :53 to only match port 53
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user