summaryrefslogtreecommitdiff
path: root/inotify
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-09-03 16:51:06 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-09-03 16:51:06 -0600
commitdc7fdfa4e869c8e54652746bf2e64b2397f1dcdc (patch)
treea071175bf74a428a0f60a75700c92abc0b774279 /inotify
parentb67e5f77e7d1ea35fa2d69242ddb6ece0c390f35 (diff)
remove stray newline
Diffstat (limited to 'inotify')
-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()