]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r227482:
authordougb <dougb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 1 Dec 2011 05:46:25 +0000 (05:46 +0000)
committerdougb <dougb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 1 Dec 2011 05:46:25 +0000 (05:46 +0000)
commitb86418e4eb6f97977598f406340e25322967c356
treea19f54218732f767058f27aa2e59c46b104ea1a3
parent5f2a16164cbc76912b77f09536b9c317abafac47
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.

Approved by: re (kensmith)

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