summaryrefslogtreecommitdiffstats
path: root/ObsoleteFiles.inc
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2013-03-26 23:11:30 +0000
committermarkj <markj@FreeBSD.org>2013-03-26 23:11:30 +0000
commit3110b3975c872ef7583196d2e4f1574de133c826 (patch)
tree95a5e439e3f3c7b0a25acfb66210dc72f9ab9ca4 /ObsoleteFiles.inc
parentea5eeccdf1b24a545056ba52b4dfb8cd84934211 (diff)
downloadFreeBSD-src-3110b3975c872ef7583196d2e4f1574de133c826.zip
FreeBSD-src-3110b3975c872ef7583196d2e4f1574de133c826.tar.gz
Fix interval-based rotations when the -t flag is used. In this case, find
the most-recently archived logfile and use its mtime to determine whether or not to rotate, as in the non-timestamped case. Previously we would just try to use the mtime of <logfile>.0, which always results in a rotation since it generally doesn't exist in the -t case. PR: bin/166448 Approved by: emaste (co-mentor) Tested by: Marco Steinbach <coco executive-computing.de> MFC after: 2 weeks
Diffstat (limited to 'ObsoleteFiles.inc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud