diff --git a/tools/restore.cpp b/tools/restore.cpp index e63d5606f19..1258bd9f662 100644 --- a/tools/restore.cpp +++ b/tools/restore.cpp @@ -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 ) ) {