diff options
author | simon <simon@FreeBSD.org> | 2011-04-21 16:31:05 +0000 |
---|---|---|
committer | simon <simon@FreeBSD.org> | 2011-04-21 16:31:05 +0000 |
commit | 5a46569c8d5ce5e53e7a60289af3986857568c7f (patch) | |
tree | 94a194499363689de697d96d4221f051c1803c68 /usr.sbin/extattr | |
parent | 2e668e262f35385cf5c738221ad870f0fc0f75d1 (diff) | |
download | FreeBSD-src-5a46569c8d5ce5e53e7a60289af3986857568c7f.zip FreeBSD-src-5a46569c8d5ce5e53e7a60289af3986857568c7f.tar.gz |
Fix an old bug in newsyslog where we kept one log file more than was
requested in newsyslog.conf. This was only the case using the non-time
based filenames (.0, .1, .2 etc.).
The change also makes newsyslog clean clean up the old extra logfile so
users don't end up with a single stale logfile which won't be rotated
out.
This change also cleans up some code a bit to avoid more copy / paste
code and removes some old copy / paste code in the process.
PR: bin/76697
MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/extattr')
0 files changed, 0 insertions, 0 deletions