mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +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" ) ) {
|
if ( ! hasParam( "dbpath" ) ) {
|
||||||
_host = "127.0.0.1";
|
_host = "127.0.0.1";
|
||||||
if ( _params.count( "host" ) )
|
if ( _params.count( "host" ) )
|
||||||
|
Loading…
Reference in New Issue
Block a user