Fix -F with logfiles rotated on time only.
Approved by: silence on -audit MFC after: 1 month
This commit is contained in:
parent
f93e740631
commit
115f46ff8f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90240
@ -159,7 +159,7 @@ do_entry(struct conf_entry * ent)
|
||||
if (verbose)
|
||||
printf("does not exist.\n");
|
||||
} else {
|
||||
if (ent->flags & CE_TRIMAT) {
|
||||
if (ent->flags & CE_TRIMAT && !force) {
|
||||
if (timenow < ent->trim_at
|
||||
|| difftime(timenow, ent->trim_at) >= 60 * 60) {
|
||||
if (verbose)
|
||||
|
Loading…
Reference in New Issue
Block a user