Added space behind :53 to only match port 53

pull/1051/head
DL6ER 7 years ago committed by GitHub
parent 9170488b0a
commit d0cd39a25f

@ -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…
Cancel
Save