diff --git a/tail.go b/tail.go index 0a10f5b..ec0a255 100644 --- a/tail.go +++ b/tail.go @@ -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 { - tail.Kill(err) + if err != tomb.ErrDying { + tail.Kill(err) + } return } }