From 8f89bcda5c9be224c8db3f57cac15b06ad27141e Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Thu, 13 Aug 2009 13:19:55 +0000 Subject: Fixed wrong date for reports. --- cron-sh/security.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron-sh') diff --git a/cron-sh/security.sh b/cron-sh/security.sh index c636750..fa50054 100755 --- a/cron-sh/security.sh +++ b/cron-sh/security.sh @@ -23,7 +23,7 @@ LCK=/var/run/msec-security.pid SECURITY_LOG="/var/log/security.log" # log formatting -REPORT_DATE=`date "+%b %W %H:%M:%S"` +REPORT_DATE=`date "+%b %d %H:%M:%S"` REPORT_HOSTNAME=`hostname` LOG_PREFIX="$REPORT_DATE $REPORT_HOSTNAME" SECURITY_PREFIX="$LOG_PREFIX security: " -- cgit v1.2.1