diff options
author | Thomas White <taw@physics.org> | 2020-08-28 15:07:06 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-28 15:07:06 +0200 |
commit | bbe0b812c930335a4ee33b376584a350ffae40b2 (patch) | |
tree | ad7f2895de3166f627c2989daaaa6f3b4719fd05 /src | |
parent | 45461879c55c0b8f0d4e7e334c377036aef76edb (diff) |
SLURM: Fix return value of get_task_status
Job tracking isn't implemented yet, but this prevents a screenful of
warning messages.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui_backend_slurm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_backend_slurm.c b/src/gui_backend_slurm.c index 7285406e..4b1ba73f 100644 --- a/src/gui_backend_slurm.c +++ b/src/gui_backend_slurm.c @@ -61,8 +61,8 @@ static int get_task_status(void *job_priv, { struct slurm_job *job = job_priv; *frac_complete = job->frac_complete; - *running = 0; - return 1; + *running = 1; + return 0; } |