close read end of pipe to avoid leaking descriptors MINOR
This commit is contained in:
@@ -438,6 +438,7 @@ public:
|
||||
if ( ret == 0 ) {
|
||||
if ( *last )
|
||||
writeMongoProgramOutputLine( port_, last );
|
||||
close( pipe_ );
|
||||
break;
|
||||
}
|
||||
if ( last != buf ) {
|
||||
|
||||
Reference in New Issue
Block a user