mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Don't exit if unable to find bench file
Now that we can call 'bench' command also from interactive terminal it makes no more sense to exit the application if the user types a wrong file name. No functional change.
This commit is contained in:
parent
900e2d4e1e
commit
0454bbc54f
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue