aboutsummaryrefslogtreecommitdiff
path: root/src/im-sandbox.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-07-10 11:30:16 +0200
committerThomas White <taw@physics.org>2018-07-10 11:31:36 +0200
commit1a90c5e819f083c951a760060b3936b8615fdce5 (patch)
tree1dbde746b9caf2d2201a61d2f6c91ca2ac236830 /src/im-sandbox.c
parentc507373f4c9cf4d6d68cf8b43d8b89d8f3628f5c (diff)
Delete mosflm.lp and SUMMARY when cleaning up temporary folder
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r--src/im-sandbox.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index ad27641b..f8913f0a 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -869,6 +869,11 @@ static void delete_temporary_folder(const char *tmpdir, int n_proc)
path = calloc(len+64, 1);
if ( (workerdir == NULL) || (path == NULL) ) return;
+ snprintf(path, 127, "%s/mosflm.lp", tmpdir);
+ unlink(path);
+ snprintf(path, 127, "%s/SUMMARY", tmpdir);
+ unlink(path);
+
for ( slot=0; slot<n_proc; slot++ ) {
struct stat s;