make run return and that is what the binary exits with

This commit is contained in:
Eliot Horowitz
2009-01-29 11:56:44 -05:00
parent c55e976c0d
commit d02aa49e35
4 changed files with 6 additions and 7 deletions

View File

@@ -60,7 +60,5 @@ int mongo::Tool::main( int argc , char ** argv ){
if ( _params.count( "collection" ) )
_coll = _params["collection"].as<string>();
run();
return 0;
return run();
}