mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-06 09:21:28 +00:00
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user