aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mosflm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mosflm.c b/src/mosflm.c
index e1e875f7..69d0ea46 100644
--- a/src/mosflm.c
+++ b/src/mosflm.c
@@ -287,6 +287,7 @@ void run_mosflm(struct image *image, UnitCell *cell)
/* Forked successfully, child process */
if ( system(mos_cmd) ) {
ERROR("MOSFLM execution failed.\n");
+ exit(0);
return;
}