aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-03-05 12:15:01 +0100
committerThomas White <taw@physics.org>2021-03-05 12:15:01 +0100
commit1ac8c79dce60517bd72d7d15c6c45dc9a0db1378 (patch)
treee8f68cebf33c94ea2d27d8548e5092b68c9c4c70
parent3761e1f1e07b14c3d2b105ceccb231e053d025ad (diff)
Mosflm: Add -n option
This tells Mosflm not to try to load environ.def and defaults.def. We don't need either.
-rw-r--r--libcrystfel/src/indexers/mosflm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/indexers/mosflm.c b/libcrystfel/src/indexers/mosflm.c
index 4c1d2906..889981d6 100644
--- a/libcrystfel/src/indexers/mosflm.c
+++ b/libcrystfel/src/indexers/mosflm.c
@@ -760,8 +760,8 @@ int run_mosflm(struct image *image, void *ipriv)
t.c_lflag &= ~(ECHO | ECHOE | ECHOK | ECHONL);
tcsetattr(STDIN_FILENO, TCSANOW, &t);
- execlp("mosflm", "mosflm", (char *)NULL);
- execlp("ipmosflm", "ipmosflm", (char *)NULL);
+ execlp("mosflm", "mosflm", "-n", (char *)NULL);
+ execlp("ipmosflm", "ipmosflm", "-n", (char *)NULL);
ERROR("Invocation: Failed to invoke MOSFLM: %s\n",
strerror(errno));
_exit(0);