diff options
| author | Antonin Kral <a.kral@bobek.cz> | 2011-06-18 21:24:41 +0200 |
|---|---|---|
| committer | Antonin Kral <a.kral@bobek.cz> | 2011-06-18 21:24:41 +0200 |
| commit | 64b33ee522375a8dc15be2875dfb7db4502259b0 (patch) | |
| tree | 44979e0aaf6bb576f4a737a93e071e28809b6779 /shell | |
| parent | 4d87ff4aa74d7ae975268ac43eee152dc3f5b7e9 (diff) | |
Imported Upstream version 1.8.2upstream/1.8.2
Diffstat (limited to 'shell')
| -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 7a6203087cd..09a3e468e6f 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 ); |
