revert 'firstErr'

This commit is contained in:
Victor Vieux 2013-12-10 15:37:03 -08:00
parent 427bdb60e7
commit b98d51dddb

View file

@ -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