summaryrefslogtreecommitdiff
path: root/inotify/inotify.go
diff options
context:
space:
mode:
Diffstat (limited to 'inotify/inotify.go')
-rw-r--r--inotify/inotify.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/inotify/inotify.go b/inotify/inotify.go
index 8c99a28..6d74830 100644
--- a/inotify/inotify.go
+++ b/inotify/inotify.go
@@ -70,7 +70,6 @@ func (o *Inotify) Read() (Event, error) {
if o.isClosed {
return Event{Wd: -1}, InotifyAlreadyClosedError
}
-
len, err := sysread(o.fd, o.buff)
if len == 0 {
return Event{Wd: -1}, o.Close()