diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-01-29 11:56:44 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-01-29 11:56:44 -0500 |
commit | d02aa49e35c94f23c8fac0215f6bad7ff2ff4afd (patch) | |
tree | 272b73fe99415860c93f18efbc41494c98114e1c /tools/import.cpp | |
parent | c55e976c0d57356bab76ef163b97b585cb3b9d4e (diff) | |
download | mongo-d02aa49e35c94f23c8fac0215f6bad7ff2ff4afd.tar.gz |
make run return and that is what the binary exits with
Diffstat (limited to 'tools/import.cpp')
-rw-r--r-- | tools/import.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/import.cpp b/tools/import.cpp index c036e7fa6c0..c4e93258e21 100644 --- a/tools/import.cpp +++ b/tools/import.cpp @@ -38,8 +38,9 @@ public: addPositionArg( "dir" , 1 ); } - void run(){ + int run(){ drillDown( getParam( "dir" ) ); + return 0; } void drillDown( path root ) { |