diff options
Diffstat (limited to 'shell/shell_utils.cpp')
-rw-r--r-- | shell/shell_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/shell_utils.cpp b/shell/shell_utils.cpp index 7a62030..09a3e46 100644 --- a/shell/shell_utils.cpp +++ b/shell/shell_utils.cpp @@ -265,7 +265,7 @@ namespace mongo { BSONElement e = oneArg(args); bool found = false; - path root( args.firstElement().valuestrsafe() ); + path root( e.valuestrsafe() ); if ( boost::filesystem::exists( root ) ) { found = true; boost::filesystem::remove_all( root ); |