@ -157,11 +157,10 @@ func (tail *Tail) tailFileSync() {
if !tail.MustExist {
// deferred first open.
err := tail.reopen()
if err == tomb.ErrDying {
return
}
if err != nil {
if err != tomb.ErrDying {
tail.Kill(err)