X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=4a383f00d5ccf85bbfd271486e9b8376b4e99d38;hb=ea6c1f7a17572f1cd291ffd00e28cfbd3b2947d5;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))