diff --git a/src/plugins/select/bluegene/bg_record_functions.c b/src/plugins/select/bluegene/bg_record_functions.c index 268f166bddf92a8be31890fc503622e0b25fe634..3aa9f2d683308f2465d49192d4c8b7b2265442c1 100644 --- a/src/plugins/select/bluegene/bg_record_functions.c +++ b/src/plugins/select/bluegene/bg_record_functions.c @@ -1374,9 +1374,10 @@ extern int put_block_in_error_state(bg_record_t *bg_record, char *reason) if (!block_ptr_exist_in_list(bg_lists->job_running, bg_record)) { list_push(bg_lists->job_running, bg_record); num_unused_cpus -= bg_record->cpu_cnt; - } else { - info("hey I was in the job_running table %d %d?", - list_count(bg_record->job_list), num_unused_cpus); + } else if (!(bg_record->state & BG_BLOCK_ERROR_FLAG)) { + info("hey I was in the job_running table %d %d %s?", + list_count(bg_record->job_list), num_unused_cpus, + bg_block_state_string(bg_record->state)); xassert(0); }