use EXIT_FAILURE to indicate problems whem exiting.

This commit is contained in:
Markus Blatt 2020-09-14 19:17:55 +02:00
parent 519e4ac002
commit 921e154972

View File

@ -42,6 +42,8 @@
#include <opm/simulators/utils/ParallelEclipseState.hpp>
#include <opm/simulators/utils/ParallelSerialization.hpp>
#include <cstdlib>
namespace Opm
{
@ -297,7 +299,7 @@ void readDeck(int rank, std::string& deckFilename, std::unique_ptr<Opm::Deck>& d
#if HAVE_MPI
MPI_Finalize();
#endif
exit(1);
exit(EXIT_FAILURE);
}
}
} // end namespace Opm