Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-01-27 12:19:02 +00:00
parent 3891dc0aef
commit 5f000085ee

View File

@ -37,7 +37,7 @@ func main() {
// 43 bytes is the record size of the watch
buf := make([]byte, 43)
// initial state
_, err := watch.Read(buf)
_, err = watch.Read(buf)
if err != nil {
log.Fatalln("Error reading watch file", err)
}