aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/scripts
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2010-03-10 14:43:19 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2010-03-10 14:43:19 +0000
commitf922e5b6ae5d7b128b56a1b8e0e969613e3bee78 (patch)
treea27a270d29cb49158ebcdbe758217a18e6bd8492 /cron-sh/scripts
parentb6cdf8bcc840f5e58b53732264c841f8142c5747 (diff)
downloadmsec-f922e5b6ae5d7b128b56a1b8e0e969613e3bee78.tar
msec-f922e5b6ae5d7b128b56a1b8e0e969613e3bee78.tar.gz
msec-f922e5b6ae5d7b128b56a1b8e0e969613e3bee78.tar.bz2
msec-f922e5b6ae5d7b128b56a1b8e0e969613e3bee78.tar.xz
msec-f922e5b6ae5d7b128b56a1b8e0e969613e3bee78.zip
Improved spelling of port-related checks
Diffstat (limited to 'cron-sh/scripts')
-rwxr-xr-xcron-sh/scripts/02_network.sh4
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