Skip to content
Snippets Groups Projects
Commit 52fe11f9 authored by Brian Christiansen's avatar Brian Christiansen
Browse files

Don't call NHC when step didn't get an allocation.

parent 5176f7bc
No related branches found
No related tags found
No related merge requests found
...@@ -2216,6 +2216,11 @@ static void _start_killing_step(struct step_record *step_ptr) ...@@ -2216,6 +2216,11 @@ static void _start_killing_step(struct step_record *step_ptr)
return; return;
} }
if (!step_ptr->select_jobinfo) {
debug3("step never got an allocation.");
return;
}
jobinfo = step_ptr->select_jobinfo->data; jobinfo = step_ptr->select_jobinfo->data;
if (jobinfo && !IS_CLEANING_STARTED(jobinfo)) { if (jobinfo && !IS_CLEANING_STARTED(jobinfo)) {
jobinfo->cleaning |= CLEANING_STARTED; jobinfo->cleaning |= CLEANING_STARTED;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment