diff options
author | markj <markj@FreeBSD.org> | 2013-03-26 23:11:30 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2013-03-26 23:11:30 +0000 |
commit | 3110b3975c872ef7583196d2e4f1574de133c826 (patch) | |
tree | 95a5e439e3f3c7b0a25acfb66210dc72f9ab9ca4 /ObsoleteFiles.inc | |
parent | ea5eeccdf1b24a545056ba52b4dfb8cd84934211 (diff) | |
download | FreeBSD-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