diff options
Diffstat (limited to 'src/gui_backend_slurm.c')
-rw-r--r-- | src/gui_backend_slurm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui_backend_slurm.c b/src/gui_backend_slurm.c index 1526bb3b..1c726591 100644 --- a/src/gui_backend_slurm.c +++ b/src/gui_backend_slurm.c @@ -486,6 +486,7 @@ static struct slurm_job *start_slurm_job(enum gui_job_type type, cwd_gfile = g_file_new_for_path("."); env = create_env(&n_env, NULL); + if ( env == NULL ) return NULL; slurm_init_job_desc_msg(&job_desc_msg); job_desc_msg.user_id = getuid(); |