0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

fix for finding hidden files SERVER-2000

This commit is contained in:
Mathias Stearn 2010-11-05 19:50:42 -04:00
parent 151470e7b9
commit cb6be477b3

View File

@ -79,7 +79,7 @@ public:
log(2) << "drillDown: " << root.string() << endl;
// skip hidden files and directories
if (root.leaf()[0] == '.')
if (root.leaf()[0] == '.' && root.leaf() != ".")
return;
if ( is_directory( root ) ) {