X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=4a383f00d5ccf85bbfd271486e9b8376b4e99d38;hb=3b14b17664b30933e55d0fb1c8248ddab8b49110;hp=cb54514ba0f9b0013ed3a2400d3f8fa43513cd88;hpb=e1d681458e92889ad0d261c6bb2df9444bfd1364;p=stockfish diff --git a/src/benchmark.cpp b/src/benchmark.cpp index cb54514b..4a383f00 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -102,7 +102,7 @@ void benchmark(const Position& current, istream& is) { if (!file.is_open()) { cerr << "Unable to open file " << fenFile << endl; - exit(EXIT_FAILURE); + return; } while (getline(file, fen))