diff --git a/src/plugins/burst_buffer/cray/burst_buffer_cray.c b/src/plugins/burst_buffer/cray/burst_buffer_cray.c index ccca55d86403ecbc928a011f6c7fedb8e48b5b1b..593d23f9e9ca6095580bc21981dbe38e4756008b 100644 --- a/src/plugins/burst_buffer/cray/burst_buffer_cray.c +++ b/src/plugins/burst_buffer/cray/burst_buffer_cray.c @@ -2706,7 +2706,8 @@ static int _xlate_interactive(struct job_descriptor *job_desc) tok_len = strlen(access) + 7; memset(tok, ' ', tok_len); } - if ((tok = strstr(bb_copy, "access_mode="))) { + if ((access == NULL) && /* Not set above with "access=" */ + (tok = strstr(bb_copy, "access_mode="))) { access = xstrdup(tok + 12); sep = strchr(access, ','); if (sep)