aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
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 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
}