Fixes reference to $js->{killtime} instead of $procinfo->{killtime}
authorJoshua Randall <joshua.randall@sanger.ac.uk>
Thu, 11 Feb 2016 10:58:18 +0000 (10:58 +0000)
committerJoshua Randall <joshua.randall@sanger.ac.uk>
Thu, 11 Feb 2016 10:58:18 +0000 (10:58 +0000)
sdk/cli/bin/crunch-job

index a31fd711a5d1949e4f2c62761b578a907a20cb17..c8a1de9c653837ac4d7a059a5dce97483ccc6602 100755 (executable)
@@ -1417,7 +1417,7 @@ sub check_squeue
     if ($procinfo->{time} < time - 60
         && $procinfo->{jobstepname}
         && !exists $ok{$procinfo->{jobstepname}}
-        && !exists $js->{killtime})
+        && !exists $procinfo->{killtime})
     {
       # According to slurm, this task has ended (successfully or not)
       # -- but our srun child hasn't exited. First we must wait (30