aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;