Skip to content
Snippets Groups Projects
Commit 9af37027 authored by Danny Auble's avatar Danny Auble
Browse files

fix for killing jobs on BGL on a clean start.

parent e23b7335
No related branches found
No related tags found
No related merge requests found
......@@ -291,9 +291,11 @@ extern bgl_record_t *find_bgl_record(char *bgl_part_id)
if(bgl_list) {
itr = list_iterator_create(bgl_list);
while ((bgl_record = (bgl_record_t *) list_next(itr)) != NULL)
if (!strcmp(bgl_record->bgl_part_id, bgl_part_id))
break;
while ((bgl_record = (bgl_record_t *) list_next(itr)) != NULL)
if(bgl_record->bgl_part_id)
if (!strcmp(bgl_record->bgl_part_id,
bgl_part_id))
break;
list_iterator_destroy(itr);
if(bgl_record)
......
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