Commit e9bc20ab authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 93329980
......@@ -1826,7 +1826,7 @@ func (wlink *WatchLink) _serve() (err error) {
l, err := r.ReadString('\n') // XXX limit accepted line len to prevent DOS
if err != nil {
// r.Read is woken up by sk.CloseRead when serve decides to exit
if err == io.ErrClosedPipe {
if err == io.ErrClosedPipe || err == io.EOF {
err = nil
}
return err
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment