2
0

fix a spot where an error was not properly returned

This commit is contained in:
Nate Finch
2014-07-23 05:46:04 -04:00
parent 2837c0edfb
commit 8b224001f4
+1 -1
View File
@@ -173,7 +173,7 @@ func (l *Logger) Rotate() error {
// cleanup.
func (l *Logger) rotate() error {
if err := l.close(); err != nil {
return nil
return err
}
if err := l.openNew(); err != nil {