From 64b33ee522375a8dc15be2875dfb7db4502259b0 Mon Sep 17 00:00:00 2001 From: Antonin Kral Date: Sat, 18 Jun 2011 21:24:41 +0200 Subject: Imported Upstream version 1.8.2 --- shell/shell_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/shell_utils.cpp') 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 ); -- cgit v1.2.3