Commit 6981c318 authored by Brian Christiansen's avatar Brian Christiansen
Browse files

Prevent "scontrol update job" from updating jobs that have already finished.

Prevents the following sequence from causing a segfault:
$ scontrol create partitionname=stuff nodes=ALL
$ sbatch --wrap="hostname" -o/dev/null -p stuff
Submitted batch job 1047468
$ scontrol delete partitionname=stuff
$ scontrol update jobid=1047468 partition=stuff
parent 95b4a46a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment