minor clarification in the Cleanup comment

we are not totally sure if this is an issue in every distro/kernel/environment.
This commit is contained in:
Sridhar Ratnakumar 2014-01-04 23:19:15 +05:30
parent 36ba8bccb9
commit be2914fd12
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ func (tail *Tail) sendLine(line []byte) bool {
} }
// Cleanup removes inotify watches added by the tail package. This function is // Cleanup removes inotify watches added by the tail package. This function is
// meant to be invoked from a process's exit handler. Linux kernel will not // meant to be invoked from a process's exit handler. Linux kernel may not
// automatically remove inotify watches after the process exits. // automatically remove inotify watches after the process exits.
func Cleanup() { func Cleanup() {
watch.Cleanup() watch.Cleanup()