diff --git a/shell/utils.cpp b/shell/utils.cpp index e7db1ed7d2c..ca9f751ae41 100644 --- a/shell/utils.cpp +++ b/shell/utils.cpp @@ -272,7 +272,7 @@ namespace mongo { assert( dbs.count( port_ ) == 0 ); } if ( port_ <= 0 || portToSocket.find( port_ ) == portToSocket.end() || portToSocket[ port_ ] <= 0 ) { - oldSocket_ = -1; + oldSocket_ = -1; } else { oldSocket_ = portToSocket[ port_ ]; }