Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Leonid Bugaev
2017-05-01 17:22:45 +02:00
367 changed files with 147217 additions and 10 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ func (o *FileOutput) flush() {
o.writer.(*bufio.Writer).Flush()
}
if stat, err := o.file.Stat(); err != nil {
if stat, err := o.file.Stat(); err == nil {
o.chunkSize = int(stat.Size())
}
}