aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-01-14 17:40:08 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:11 +0100
commit34901d9de3fc22f57ff318015fa62f35955f4d4f (patch)
tree87a373eb73af203d5df3a494b6f12f8ffbfee83b
parent71c58411d4e85d46c3033d9064750fe22d21a0a8 (diff)
No really, don't forget to exit()
-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;
}