X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=4a383f00d5ccf85bbfd271486e9b8376b4e99d38;hp=cb54514ba0f9b0013ed3a2400d3f8fa43513cd88;hb=0454bbc54f35cc500858cfcb61723ac256ea320c;hpb=900e2d4e1e1424076ec197cbe22e941fbf8cbf6b 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))