9701: Reverted the use of the optional 'flush' argument on ArvadosFileWriter.close()
[arvados.git] / sdk / cli / bin / crunch-job
index 0ad5a6b80bd9a84bd50f24e2a2554b2ca5d60da5..7584d3a83d427de4cebf29b50109c21971c9fe59 100755 (executable)
@@ -1511,11 +1511,10 @@ sub preprocess_stderr
     Log ($jobstepidx, "stderr $line");
     if ($line =~ /srun: error: (SLURM job $ENV{SLURM_JOB_ID} has expired|Unable to confirm allocation for job $ENV{SLURM_JOB_ID})/) {
       # If the allocation is revoked, we can't possibly continue, so mark all
-      # slots as failed.  This will cause the overall exit code to be
+      # nodes as failed.  This will cause the overall exit code to be
       # EX_RETRY_UNLOCKED instead of failure so that crunch_dispatch can re-run
-      # this job.  whoa.
+      # this job.
       $main::please_freeze = 1;
-      $working_slot_count = 0;
       foreach my $st (@slot) {
         $st->{node}->{fail_count}++;
       }