aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-03-24 13:32:38 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-03-24 13:32:38 +0000
commit6cd98f7437e688fbc1436c9d671421215d99a4a7 (patch)
treefb0832e2b5373d5a1d666c4411611af3b3dedbf6 /cron-sh
parent4d371961d574267b989ded83f699349c0bb8a450 (diff)
downloadmsec-6cd98f7437e688fbc1436c9d671421215d99a4a7.tar
msec-6cd98f7437e688fbc1436c9d671421215d99a4a7.tar.gz
msec-6cd98f7437e688fbc1436c9d671421215d99a4a7.tar.bz2
msec-6cd98f7437e688fbc1436c9d671421215d99a4a7.tar.xz
msec-6cd98f7437e688fbc1436c9d671421215d99a4a7.zip
Using correct logger.
Diffstat (limited to 'cron-sh')
-rwxr-xr-xcron-sh/promisc_check.sh2
-rwxr-xr-xcron-sh/security.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/cron-sh/promisc_check.sh b/cron-sh/promisc_check.sh
index da06f32..4df9c25 100755
--- a/cron-sh/promisc_check.sh
+++ b/cron-sh/promisc_check.sh
@@ -4,7 +4,7 @@
Syslog() {
if [[ ${SYSLOG_WARN} == yes ]]; then
- logger -- "${1}"
+ logger -t msec -- "${1}"
fi
}
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index c1001aa..9d48da5 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -196,7 +196,7 @@ fi
Syslog() {
if [[ ${SYSLOG_WARN} == yes ]]; then
while read line; do
- logger -- "${line}"
+ logger -t msec -- "${line}"
done < ${1}
fi
}