summaryrefslogtreecommitdiff
path: root/tools/import.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-01-29 11:56:44 -0500
committerEliot Horowitz <eliot@10gen.com>2009-01-29 11:56:44 -0500
commitd02aa49e35c94f23c8fac0215f6bad7ff2ff4afd (patch)
tree272b73fe99415860c93f18efbc41494c98114e1c /tools/import.cpp
parentc55e976c0d57356bab76ef163b97b585cb3b9d4e (diff)
downloadmongo-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.cpp3
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 ) {