Skip to content

Commit

Permalink
Fixed extractMDB1 throwing an error on correct input
Browse files Browse the repository at this point in the history
  • Loading branch information
SydMontague committed Feb 14, 2020
1 parent 90cd4bb commit c50d2e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DSCSTools/MDB1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void extractMDB1(const boost::filesystem::path source, const boost::filesystem::
std::cout << "Error: Target path exists and is not a directory, aborting." << std::endl;
return;
}
if (boost::filesystem::is_regular_file(source)) {
if (!boost::filesystem::is_regular_file(source)) {
std::cout << "Error: Source path doesn't point to a file, aborting." << std::endl;
return;
}
Expand Down

0 comments on commit c50d2e7

Please sign in to comment.