diff options
author | roam <roam@FreeBSD.org> | 2002-02-05 09:33:07 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2002-02-05 09:33:07 +0000 |
commit | 6a18ede7cd38d3c8ddd08197fafced885dece4f3 (patch) | |
tree | 23441a4c626322a73d9325d19438672ecd58eb1d /usr.sbin/newsyslog | |
parent | f174fff2710889919ee577a1f564f152c1291e62 (diff) | |
download | FreeBSD-src-6a18ede7cd38d3c8ddd08197fafced885dece4f3.zip FreeBSD-src-6a18ede7cd38d3c8ddd08197fafced885dece4f3.tar.gz |
Fix -F with logfiles rotated on time only.
Approved by: silence on -audit
MFC after: 1 month
Diffstat (limited to 'usr.sbin/newsyslog')
-rw-r--r-- | usr.sbin/newsyslog/newsyslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c index 3d7ff8a..4c9603c 100644 --- a/usr.sbin/newsyslog/newsyslog.c +++ b/usr.sbin/newsyslog/newsyslog.c @@ -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) |