Skip to content

Commit 92007d6

Browse files
committed
chore: improve readability
1 parent 7fb1c65 commit 92007d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipe.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func (p *pipe) _backgroundWrite() {
197197
}
198198
}
199199
if err != nil {
200-
if err != ErrClosing {
200+
if err != ErrClosing { // ignore ErrClosing to allow final QUIT command to be sent
201201
p.error.CompareAndSwap(nil, &errs{error: err})
202202
return
203203
}

0 commit comments

Comments
 (0)