From 7c13203815c834085df537ea92b163165a4a1d74 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 18 Feb 2018 17:14:25 +0100 Subject: Add alternate email to mail if set Signed-off-by: Florian Pritz --- bin/generate-mirror-mail.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/generate-mirror-mail.pl b/bin/generate-mirror-mail.pl index bdd4234..d39fe1a 100755 --- a/bin/generate-mirror-mail.pl +++ b/bin/generate-mirror-mail.pl @@ -167,6 +167,7 @@ while () { my $sent_mail = 0; my $to = $json->{admin_email}; + $to .= ",".$json->{alternate_email} if $json->{alternate_email} ne ""; if (@out_of_sync) { my %values = ( -- cgit v1.2.3-24-g4f1b