From e3c7a1f31f5d16fdb8543d3f523f021268fb630b Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Fri, 28 Oct 2016 03:49:03 -0700 Subject: [PATCH] Top half user output updated. --- advanced/Scripts/piholeDebug.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/advanced/Scripts/piholeDebug.sh b/advanced/Scripts/piholeDebug.sh index b80c9584..22a2a51a 100755 --- a/advanced/Scripts/piholeDebug.sh +++ b/advanced/Scripts/piholeDebug.sh @@ -223,7 +223,7 @@ lsof_parse() { else match="incorrectly." fi - log_echo "by ${user} for ${process} ${match}" + log_echo -l "by ${user} for ${process} ${match}" } @@ -237,12 +237,12 @@ daemon_check() { if [[ ${IPV6_ENABLED} ]]; then lsof_value=$(lsof -i 6:${2} -FcL | tr '\n' ' ') \ - && (log_echo "Port ${2} is in use on IPv6" && lsof_parse "${lsof_value}" "${1}") \ + && (log_echo -n "IPv6 Port ${2} is in use " && lsof_parse "${lsof_value}" "${1}") \ || (log_echo "Port ${2} is not in use on IPv6.") fi lsof_value=$(lsof -i 4:${2} -FcL | tr '\n' ' ') \ - && (log_echo "Port ${2} is in use on IPv4" && lsof_parse "${lsof_value}" "${1}") \ + && (log_echo -n "IPv4 Port ${2} is in use " && lsof_parse "${lsof_value}" "${1}") \ || (log_echo "Port ${2} is not in use on IPv4.") }