Shell: mongos stop() fix

This commit is contained in:
Eliot Horowitz
2009-04-12 22:19:04 -04:00
parent 0daa0c9cc8
commit 391f2f01b6
2 changed files with 7 additions and 2 deletions

View File

@@ -389,7 +389,10 @@ public:
argv_[ args.Length() ] = 0;
assert( port_ > 0 );
assert( dbs.count( port_ ) == 0 );
if ( dbs.count( port_ ) != 0 ){
cerr << "count for port: " << port_ << " is not 0 is: " << dbs.count( port_ ) << endl;
assert( dbs.count( port_ ) == 0 );
}
}
void start() {