aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
authorMichael Scherer <misc@mandriva.com>2006-05-04 14:03:36 +0000
committerMichael Scherer <misc@mandriva.com>2006-05-04 14:03:36 +0000
commitc3e072dbce9ec59d891dd58f8afdfd92a1bee8d3 (patch)
tree57631e2bf3da1267a8495c94f5edb9ac498aa55a /cron-sh
parenta5b572c4a4e73bc0b369c20c9cdf7b2f5804b8ea (diff)
downloadmsec-c3e072dbce9ec59d891dd58f8afdfd92a1bee8d3.tar
msec-c3e072dbce9ec59d891dd58f8afdfd92a1bee8d3.tar.gz
msec-c3e072dbce9ec59d891dd58f8afdfd92a1bee8d3.tar.bz2
msec-c3e072dbce9ec59d891dd58f8afdfd92a1bee8d3.tar.xz
msec-c3e072dbce9ec59d891dd58f8afdfd92a1bee8d3.zip
fix bug #21090, by using logger instead of deprecated initlog, thanks blino
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 d6867b9..5162a93 100755
--- a/cron-sh/promisc_check.sh
+++ b/cron-sh/promisc_check.sh
@@ -5,7 +5,7 @@
Syslog() {
if [[ ${SYSLOG_WARN} == yes ]]; then
- /sbin/initlog --string="${1}"
+ logger "${1}"
fi
}
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index bd7ec79..bcf2d3d 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -190,7 +190,7 @@ fi
Syslog() {
if [[ ${SYSLOG_WARN} == yes ]]; then
while read line; do
- /sbin/initlog --string="${line}"
+ logger "${line}"
done < ${1}
fi
}