From f169da8fd086ff7f962c1e6ba6f7c7eb4243bb29 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Wed, 26 Oct 2016 14:48:11 -0700 Subject: [PATCH] Set for quiet temporarily. --- advanced/Scripts/piholeDebug.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/advanced/Scripts/piholeDebug.sh b/advanced/Scripts/piholeDebug.sh index 3071df07..a0385ceb 100755 --- a/advanced/Scripts/piholeDebug.sh +++ b/advanced/Scripts/piholeDebug.sh @@ -190,7 +190,6 @@ hostnameCheck() { lsof_parse() { # Dummy function for now echo "Dummy function lsof_parse got called" - log_echo ${1} } daemon_check() { @@ -202,12 +201,12 @@ daemon_check() { local lsof_value if [[ ${IPV6_ENABLED} ]]; then - lsof_value=$(lsof -i 6:${2} -FcL) \ + lsof_value=$(lsof -i 6:${2} -F0cL) \ && (echo "::: Port ${2} is in use on IPv6." && found_daemon=true && echo "${lsof_value}") \ || (echo "::: Port ${2} is not in use.") fi - lsof_value=$(lsof -i 4:${2} -FcL) \ + lsof_value=$(lsof -i 4:${2} -F0cL) \ && (echo "::: Port ${2} is in use on IPv4." && found_daemon=true && echo "${lsof_value}") \ || (echo "::: Port ${2} is not in use.") }