detect when the read pipe got closed by using the Write error code. It solves a race, where the pipe could be closed between the check and the actual write. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> |
||
|---|---|---|
| .. | ||
| tarlogger.go | ||
| tarlogger_test.go | ||