diff --git a/CHANGELIST.md b/CHANGELIST.md index 0eec6c26..f7e78078 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -9,6 +9,7 @@ - Add first-run Options title, fix saving bug - Fix multiple handler invocation - Create method for applying theme +- Fix drive letter check ### 2.7.2 (2023-10-17) diff --git a/MPF.Core/DumpEnvironment.cs b/MPF.Core/DumpEnvironment.cs index da3851fb..b65d6a51 100644 --- a/MPF.Core/DumpEnvironment.cs +++ b/MPF.Core/DumpEnvironment.cs @@ -684,7 +684,7 @@ namespace MPF.Core OutputPath = InfoTool.NormalizeOutputPaths(OutputPath, true); // Validate that the output path isn't on the dumping drive - if (Drive?.Name != null && !OutputPath.StartsWith(Drive.Name)) + if (Drive?.Name != null && OutputPath.StartsWith(Drive.Name)) return Result.Failure("Error! Cannot output to same drive that is being dumped!"); // Validate that the required program exists