diff --git a/Source/NSFileManager.m b/Source/NSFileManager.m index 3c3c2d7d0d..ca01f018dd 100644 --- a/Source/NSFileManager.m +++ b/Source/NSFileManager.m @@ -2456,7 +2456,7 @@ - (NSDictionary*) fileAttributes */ - (void) skipDescendents { - if (GSIArrayCount(_stack) > 0) + if (GSIArrayCount(_stack) > 1) { GSIArrayRemoveLastItem(_stack); if (_currentFilePath != 0)