aboutsummaryrefslogtreecommitdiffstats
path: root/mkadvisories
diff options
context:
space:
mode:
Diffstat (limited to 'mkadvisories')
-rwxr-xr-xmkadvisories6
1 files changed, 6 insertions, 0 deletions
diff --git a/mkadvisories b/mkadvisories
index c5a7d8c..0f767cb 100755
--- a/mkadvisories
+++ b/mkadvisories
@@ -141,9 +141,15 @@ sub send_report_mail {
try_to_sendmail($email);
}
+sub dumpdb {
+ my ($advdb) = @_;
+ DumpFile($config->{out_dir} . '/advisories.yaml', $advdb->{advisories});
+}
+
my %advdb;
$advdb{advisories} = get_advisories();
output_pages(\%advdb);
+dumpdb(\%advdb);
send_adv_mail(\%advdb);
send_report_mail(\%advdb);