run.go | 3 +++ diff --git a/run.go b/run.go index ca568393b801286cd932d5753fb30a39cd7932389e7298f2b626abebf52358b1..7ab143f0a98dbb7aed80a85855205b5b353371bfe7a6a913c6b42769d414711a 100644 --- a/run.go +++ b/run.go @@ -695,6 +695,9 @@ } else { stderrWrite(StderrPrefix + "[" + tgt.rel + "]" + line + "\n") } } + if scanner.Err() != nil { + // ignore + } close(stderrTerm) }()