Skip to content
Snippets Groups Projects
Commit 1d59ee7a authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

[App] added error return code to OGS

parent ffa1165a
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ int main(int argc, char *argv[])
INFO("Solve processes.");
auto& time_loop = project.getTimeLoop();
time_loop.loop(project);
bool solver_succeeded = time_loop.loop(project);
return 0;
return solver_succeeded ? EXIT_SUCCESS : EXIT_FAILURE;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment