mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-26 21:46:26 -06:00
use EXIT_FAILURE to indicate problems whem exiting.
This commit is contained in:
parent
519e4ac002
commit
921e154972
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user