diff --git a/Osi/src/Osi/OsiSolverInterface.cpp b/Osi/src/Osi/OsiSolverInterface.cpp index 3e44df41..396e61bd 100644 --- a/Osi/src/Osi/OsiSolverInterface.cpp +++ b/Osi/src/Osi/OsiSolverInterface.cpp @@ -1418,7 +1418,7 @@ int OsiSolverInterface::writeLpNative(const char *filename, if (!fp) { printf("### ERROR: in OsiSolverInterface::writeLpNative(): unable to open file %s\n", filename); - exit(1); + return (1); } int nerr = writeLpNative(fp, rowNames, columnNames, epsilon, numberAcross, decimals,