aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/security.sh
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-08-13 13:19:55 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-08-13 13:19:55 +0000
commit8f89bcda5c9be224c8db3f57cac15b06ad27141e (patch)
tree6fc226316062bc33725d25d3b1f327139f9023ba /cron-sh/security.sh
parent2e75fde27de3705c076fd5d8bcfcf9e0f2348780 (diff)
downloadmsec-8f89bcda5c9be224c8db3f57cac15b06ad27141e.tar
msec-8f89bcda5c9be224c8db3f57cac15b06ad27141e.tar.gz
msec-8f89bcda5c9be224c8db3f57cac15b06ad27141e.tar.bz2
msec-8f89bcda5c9be224c8db3f57cac15b06ad27141e.tar.xz
msec-8f89bcda5c9be224c8db3f57cac15b06ad27141e.zip
Fixed wrong date for reports.
Diffstat (limited to 'cron-sh/security.sh')
-rwxr-xr-xcron-sh/security.sh2
1 files changed, 1 insertions, 1 deletions
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: "