Oops, variable assignment

This commit is contained in:
Neale Pickett 2015-02-11 16:00:10 -07:00
parent d1beac1965
commit 3afbec6ef3
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ func (lf *Logfile) rotate() error {
return err
}
currentPath = path.Join(lf.baseDir, "log", "current")
currentPath := path.Join(lf.baseDir, "log", "current")
if lf.file == nil {
// Set lf.file just so we can write out NEXTLOG.