mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
fix tool locking
This commit is contained in:
parent
6487373835
commit
a246b2219f
@ -93,8 +93,6 @@ int mongo::Tool::main( int argc , char ** argv ){
|
||||
}
|
||||
}
|
||||
|
||||
writelock lk("");
|
||||
|
||||
if ( ! hasParam( "dbpath" ) ) {
|
||||
_host = "127.0.0.1";
|
||||
if ( _params.count( "host" ) )
|
||||
|
Loading…
Reference in New Issue
Block a user