summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/generate-mirror-mail.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/generate-mirror-mail.pl b/bin/generate-mirror-mail.pl
index 24e714a..6c290d9 100755
--- a/bin/generate-mirror-mail.pl
+++ b/bin/generate-mirror-mail.pl
@@ -138,6 +138,7 @@ while (<STDIN>) {
my @connection_failed;
for my $mirror (@{$json->{urls}}) {
+ next if not $mirror->{active};
if ($mirror->{last_sync}) {
my $time = str2time($mirror->{last_sync});
if ($time < time() - 60*60*24*3) {