We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b523be commit ffd56a1Copy full SHA for ffd56a1
cmd/seccat/util.go
@@ -31,7 +31,7 @@ type logRW struct {
31
32
func (r *logRW) Read(buf []byte) (int, error) {
33
n, err := r.rw.Read(buf)
34
- if err == nil {
+ if n > 0 {
35
log.Debugf("%s read: %v", r.n, buf)
36
}
37
return n, err
0 commit comments