summaryrefslogtreecommitdiff
path: root/vendor/github.com/nxadm/tail/tail.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/nxadm/tail/tail.go')
-rw-r--r--vendor/github.com/nxadm/tail/tail.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/vendor/github.com/nxadm/tail/tail.go b/vendor/github.com/nxadm/tail/tail.go
index 7fbba8d33..58d3c4b95 100644
--- a/vendor/github.com/nxadm/tail/tail.go
+++ b/vendor/github.com/nxadm/tail/tail.go
@@ -435,7 +435,6 @@ func (tail *Tail) sendLine(line string) bool {
// Cleanup removes inotify watches added by the tail package. This function is
// meant to be invoked from a process's exit handler. Linux kernel may not
// automatically remove inotify watches after the process exits.
-// If you plan to re-read a file, don't call Cleanup in between.
func (tail *Tail) Cleanup() {
watch.Cleanup(tail.Filename)
}