summaryrefslogtreecommitdiff
path: root/src
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
commit0adc8879233bfb020259ebb43e33a35c5b00a8f1 (patch)
tree79e0ad0e6109063da66a9df326d6109312681322 /src
parentb18eb34f9902d206de83f6824be4d90f0bc86950 (diff)
remove stray newline
Diffstat (limited to 'src')
-rw-r--r--src/inotify/inotify.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/inotify/inotify.go b/src/inotify/inotify.go
index 8c99a28..6d74830 100644
--- a/src/inotify/inotify.go
+++ b/src/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()