diff options
author | Thomas White <taw@physics.org> | 2020-08-31 14:37:29 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-31 14:37:29 +0200 |
commit | b73c17de060a18051e61c48b66d5e1494b20a504 (patch) | |
tree | 98eb53498f863a4eeeeeb4349d3d7bfe38301799 | |
parent | a833b044790f9a81d62863b22a552374ab702834 (diff) |
SLURM: Don't use job response message in case of failure
-rw-r--r-- | src/gui_backend_slurm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_backend_slurm.c b/src/gui_backend_slurm.c index 4db8d7d6..036cf4ef 100644 --- a/src/gui_backend_slurm.c +++ b/src/gui_backend_slurm.c @@ -209,7 +209,7 @@ static void *run_indexing(const char *job_title, r = slurm_submit_batch_job(&job_desc_msg, &resp); if ( r ) { - ERROR("Couldn't submit job: %i\n", resp->error_code); + ERROR("Couldn't submit job: %i\n", errno); free(job); return NULL; } |