]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r227482:
authordougb <dougb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 1 Dec 2011 05:48:50 +0000 (05:48 +0000)
committerdougb <dougb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 1 Dec 2011 05:48:50 +0000 (05:48 +0000)
commit64c9a2df5e1aeef3c7463b35cfaa8b767b0a38f4
treec81baa2a24d2c5d5fbb11287f59c3c36bdad20b9
parent0a09bd7e35c7dad7cd0c1ffe3b5557eb3d5c7f8f
MFC r227482:

The default setting, daily_accounting_compress="NO", was causing
only 1 old file to be saved, so fix this.

While I'm here, fix a very old off-by-one error causing 1 more
file than specified in daily_accounting_save to be saved because
acct.0 was not taken into account (pun intended). Change that, and
use a more thorough method of finding old files to delete. Partly
just because this is the right thing to do, but also to silently
fix the extra log that would have been left behind forever with the
previous method.

git-svn-id: svn://svn.freebsd.org/base/stable/8@228167 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
etc/periodic/daily/310.accounting