Skip to content

Commit 6cd879f

Browse files
hkielOpenModelica-Hudson
authored andcommitted
use correct return code
1 parent b88ce87 commit 6cd879f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SimulationRuntime/c/simulation/simulation_runtime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ int initRuntimeAndSimulation(int argc, char**argv, DATA *data, threadData_t *thr
735735
if(!data)
736736
{
737737
std::cerr << "Error: Could not initialize the global data structure file" << std::endl;
738-
EXIT(0);
738+
EXIT(1);
739739
}
740740

741741
data->simulationInfo->nlsMethod = getNonlinearSolverMethod(argc, argv);

0 commit comments

Comments
 (0)