revert 'firstErr'
This commit is contained in:
parent
427bdb60e7
commit
b98d51dddb
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ func (o *Output) Write(p []byte) (n int, err error) {
|
|||
firstErr = err
|
||||
}
|
||||
}
|
||||
return len(p), err
|
||||
return len(p), firstErr
|
||||
}
|
||||
|
||||
// Close unregisters all destinations and waits for all background
|
||||
|
|
Loading…
Add table
Reference in a new issue