aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-03-04 09:14:43 +0100
committerThomas White <taw@physics.org>2021-03-04 12:21:36 +0100
commit86958bc6130c58a37610b5daeb8825bdc58ece17 (patch)
tree280f54131ce8a8eac2d5dc52830ea457553d51b2
parentbc8ab2fc8af70ecd58120dd30652c5cc7a7d190a (diff)
start_slurm_job: Save the real stderr filename
-rw-r--r--src/gui_backend_slurm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_backend_slurm.c b/src/gui_backend_slurm.c
index 24588c13..459a439b 100644
--- a/src/gui_backend_slurm.c
+++ b/src/gui_backend_slurm.c
@@ -509,7 +509,7 @@ static struct slurm_job *start_slurm_job(enum gui_job_type type,
STATUS("Submitted SLURM job ID %i\n", resp->job_id);
- stderr_gfile = g_file_get_child(workdir, "stderr.log");
+ stderr_gfile = g_file_get_child(workdir, stderr_filename);
job->stderr_filename = g_file_get_path(stderr_gfile);
g_object_unref(stderr_gfile);