aboutsummaryrefslogtreecommitdiff
path: root/src/mosflm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mosflm.c')
-rw-r--r--src/mosflm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mosflm.c b/src/mosflm.c
index 7b4253cb..bfaca2fb 100644
--- a/src/mosflm.c
+++ b/src/mosflm.c
@@ -522,6 +522,7 @@ void run_mosflm(struct image *image, UnitCell *cell)
write_spt(image, mosflm->sptfile);
snprintf(mosflm->newmatfile, 127, "xfel-%i.newmat", image->id);
+ remove(mosflm->newmatfile);
mosflm->pid = forkpty(&mosflm->pty, NULL, NULL, NULL);
if ( mosflm->pid == -1 ) {