From 3afbec6ef3f4ea57f0ef3cd2561865ce4cee4600 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Wed, 11 Feb 2015 16:00:10 -0700 Subject: [PATCH] Oops, variable assignment --- spongy/logfile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spongy/logfile.go b/spongy/logfile.go index 198f741..0044891 100644 --- a/spongy/logfile.go +++ b/spongy/logfile.go @@ -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.