We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 668c6e1 commit d1d76b7Copy full SHA for d1d76b7
Library/DiscUtils.Iso9660/VfsCDReader.cs
@@ -540,7 +540,7 @@ public Stream OpenBootImage()
540
throw new InvalidOperationException("No valid boot image");
541
}
542
protected override ReaderDirectory ConvertDirEntryToDirectory(ReaderDirEntry dirEntry) {
543
- if (dirEntry.IsDirectory)
+ if (! dirEntry.IsDirectory)
544
throw new Exception("Invalid Directory Request record is not a directory");
545
546
return new ReaderDirectory(Context, dirEntry);
0 commit comments