diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/restore.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/restore.cpp b/tools/restore.cpp index 53d512312f2..a2013a1afba 100644 --- a/tools/restore.cpp +++ b/tools/restore.cpp @@ -109,6 +109,11 @@ public: log() << root.string() << endl; + if ( root.leaf() == "system.profile.bson" ){ + log() << "\t skipping" << endl; + return; + } + string ns; if (use_db) { ns += _db; |