Use std::exit(EXIT_FAILURE)

Somehow this reappeard druing refactoring.
This commit is contained in:
Markus Blatt 2020-09-15 08:36:20 +02:00
parent cd74796004
commit 58fdf300df

View File

@ -274,7 +274,7 @@ void readDeck(int rank, std::string& deckFilename, std::unique_ptr<Opm::Deck>& d
#if HAVE_MPI
MPI_Finalize();
#endif
exit(1);
std::exit(EXIT_FAILURE);
}
}
} // end namespace Opm