aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-08-11 16:02:52 +0200
committerThomas White <taw@physics.org>2022-06-02 12:15:38 +0200
commit2d09dfe63742975e39abee6f8c73bc5936d779c8 (patch)
tree3ff7061db46cb21044f8a952743de4d53f67f34f /src
parent39aa39d13cd8ea4bc13b9d1499ab903ab10ecb66 (diff)
indexamajig: Exit if unique ASAP::O group ID can't be created
Diffstat (limited to 'src')
-rw-r--r--src/im-sandbox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index 468afdc9..a175b3ed 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -1155,6 +1155,10 @@ int create_sandbox(struct index_args *iargs, int n_proc, char *prefix,
asapo_beamtime,
asapo_path);
}
+ if ( sb->asapo_group_id == NULL ) {
+ ERROR("Failed to create ASAP::O group ID.\n");
+ return 0;
+ }
sb->fds = NULL;
sb->fhs = NULL;