Skip to content

Commit

Permalink
Mark SCAP updated flags when deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmundell committed May 26, 2020
1 parent 06e0133 commit 9226d9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/manage_sql_secinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -3293,6 +3293,7 @@ update_scap_cves (int last_scap_update)
" WHERE id IN (SELECT id FROM removed);");

sql (all_xml_cves->str);
updated_scap_cves = 1;
}
g_string_free (all_xml_cves, TRUE);

Expand Down Expand Up @@ -5217,6 +5218,7 @@ update_scap (int lockfile,
(all_xml_cpes, "]);");

sql (all_xml_cpes->str);
updated_scap_cpes = 1;
}
g_string_free (all_xml_cpes, TRUE);

Expand Down

0 comments on commit 9226d9a

Please sign in to comment.