SERVER-500 MINOR handle hardcoded ports as well

This commit is contained in:
Aaron
2010-01-11 18:30:22 -08:00
parent 903fb03381
commit 2460cc0e2d

View File

@@ -287,7 +287,8 @@ namespace mongo {
// port allocator left this socket open to prevent someone else from grabbing
// the port -- now we need to close the socket
assert( 0 == close( oldSocket_ ) );
if ( oldSocket_ > 0 )
assert( 0 == close( oldSocket_ ) );
fflush( 0 );
pid_ = fork();