Fix an issue with incorrect logging of secure boot state

This commit is contained in:
Gustave Monce
2021-08-13 13:21:15 +02:00
parent 8293c18406
commit 668a9b7fe2
10 changed files with 12 additions and 26 deletions
@@ -1915,9 +1915,7 @@ namespace DiscUtils.Fat
throw new DirectoryNotFoundException(string.Format(CultureInfo.InvariantCulture, "The directory '{0}' was not found", path));
}
DirectoryEntry[] entries = dir.Entries;
foreach (DirectoryEntry de in entries)
foreach (DirectoryEntry de in dir.Entries)
{
bool isDir = (de.Attributes & FatAttributes.Directory) != 0;