diff options
Diffstat (limited to 'cron-sh')
-rwxr-xr-x | cron-sh/scripts/02_network.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-sh/scripts/02_network.sh b/cron-sh/scripts/02_network.sh index c50af4c..a602e1f 100755 --- a/cron-sh/scripts/02_network.sh +++ b/cron-sh/scripts/02_network.sh @@ -26,7 +26,7 @@ fi if check_is_enabled "${CHECK_OPEN_PORT}" ; then if [[ ${IGNORE_PID_CHANGES} = yes ]]; then - FILTER="sed -e s/\([0-9]*\)\/\(.*\)$/\2/g" + FILTER="sed -e s/\(PID\|[0-9]*\)\/\(.*\)$/\2/g" else FILTER="cat" fi @@ -43,7 +43,7 @@ fi ### Changed open port if check_is_enabled "${CHECK_OPEN_PORT}" ; then - Diffcheck ${OPEN_PORT_TODAY} ${OPEN_PORT_YESTERDAY} ${OPEN_PORT_DIFF} "network listening ports" + Diffcheck ${OPEN_PORT_TODAY} ${OPEN_PORT_YESTERDAY} ${OPEN_PORT_DIFF} "processes with open network ports" fi ### Changed firewall |