Skip to content

Commit

Permalink
bump hot fix on master
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurkiller committed Aug 25, 2021
1 parent 5603497 commit f61c29b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ func (w *LockedWriter) Write(b []byte) (n int, err error) {
select {
case filename := <-w.fire:
if err := w.Reopen(filename); err != nil {
w.Unlock()
return 0, err
}
default:
Expand Down

0 comments on commit f61c29b

Please sign in to comment.