0
0
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:
Eliot Horowitz 2009-12-06 11:34:00 -05:00
parent 6487373835
commit a246b2219f

View File

@ -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" ) )