diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2006-08-11 02:55:24 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2006-08-11 02:55:24 +0000 |
commit | b18075f13a674b8a31152d5822c3597302c7cb08 (patch) | |
tree | 78e4c29c6fc3e013518ed6aa1a1c677757a398c9 /cron-sh | |
parent | 55c8fe78e6afaf7ba53ea7b4227258a4fcc15246 (diff) | |
download | msec-b18075f13a674b8a31152d5822c3597302c7cb08.tar msec-b18075f13a674b8a31152d5822c3597302c7cb08.tar.gz msec-b18075f13a674b8a31152d5822c3597302c7cb08.tar.bz2 msec-b18075f13a674b8a31152d5822c3597302c7cb08.tar.xz msec-b18075f13a674b8a31152d5822c3597302c7cb08.zip |
- add -- to logger before message, fixing #24261
Diffstat (limited to 'cron-sh')
-rwxr-xr-x | cron-sh/promisc_check.sh | 2 | ||||
-rwxr-xr-x | cron-sh/security.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cron-sh/promisc_check.sh b/cron-sh/promisc_check.sh index 5162a93..e573526 100755 --- a/cron-sh/promisc_check.sh +++ b/cron-sh/promisc_check.sh @@ -5,7 +5,7 @@ Syslog() { if [[ ${SYSLOG_WARN} == yes ]]; then - logger "${1}" + logger -- "${1}" fi } diff --git a/cron-sh/security.sh b/cron-sh/security.sh index bcf2d3d..6105286 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 - logger "${line}" + logger -- "${line}" done < ${1} fi } |