aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/security.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cron-sh/security.sh')
-rwxr-xr-xcron-sh/security.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index cd2fd29..54c1943 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -41,8 +41,8 @@ CURRENT_CHECK_TYPE=$(current_check_type)
# variables
LCK=/var/run/msec-security.pid
SECURITY_LOG="/var/log/security.log"
-MAIL_LOG_TODAY="/var/log/security/mail.today"
-MAIL_LOG_YESTERDAY="/var/log/security/mail.yesterday"
+MAIL_LOG_TODAY="/var/log/security/mail.${CURRENT_CHECK_TYPE}.today"
+MAIL_LOG_YESTERDAY="/var/log/security/mail.${CURRENT_CHECK_TYPE}.yesterday"
# log formatting
REPORT_DATE=`date "+%b %d %H:%M:%S"`