mirror of https://github.com/nealey/spongy
Oops, variable assignment
This commit is contained in:
parent
d1beac1965
commit
3afbec6ef3
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue