diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2009-08-13 13:19:55 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2009-08-13 13:19:55 +0000 |
commit | 8f89bcda5c9be224c8db3f57cac15b06ad27141e (patch) | |
tree | 6fc226316062bc33725d25d3b1f327139f9023ba | |
parent | 2e75fde27de3705c076fd5d8bcfcf9e0f2348780 (diff) | |
download | msec-8f89bcda5c9be224c8db3f57cac15b06ad27141e.tar msec-8f89bcda5c9be224c8db3f57cac15b06ad27141e.tar.gz msec-8f89bcda5c9be224c8db3f57cac15b06ad27141e.tar.bz2 msec-8f89bcda5c9be224c8db3f57cac15b06ad27141e.tar.xz msec-8f89bcda5c9be224c8db3f57cac15b06ad27141e.zip |
Fixed wrong date for reports.
-rwxr-xr-x | cron-sh/security.sh | 2 |
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: " |