mirror of https://github.com/winsw/winsw
Fix an iteration
parent
62f13e64cf
commit
6d5dcfa70c
|
@ -311,7 +311,7 @@ namespace WinSW
|
|||
|
||||
try
|
||||
{
|
||||
for (int j = this.FilesToKeep; j >= 1; j--)
|
||||
for (int j = this.FilesToKeep; j >= 2; j--)
|
||||
{
|
||||
string dst = this.BaseLogFileName + "." + (j - 1) + ext;
|
||||
string src = this.BaseLogFileName + "." + (j - 2) + ext;
|
||||
|
|
Loading…
Reference in New Issue