From fd91d991708f265a650eac7aa2eb24ef4c756dd3 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 29 Jul 2022 14:11:28 -0700 Subject: archive-fmail-to-annex: fix variable used as array reference --- scripts/mail/archive-fmail-to-annex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mail/archive-fmail-to-annex b/scripts/mail/archive-fmail-to-annex index b2713c8a..4990082c 100755 --- a/scripts/mail/archive-fmail-to-annex +++ b/scripts/mail/archive-fmail-to-annex @@ -85,7 +85,7 @@ foreach my $name (keys %names) { = $mgr->open($fmail_annex, access => "a", type => "maildir"); my $now = time; - for (@$source) { + for (@$source_handle) { $now - $_->timestamp > THIRTYONE or next; $_->label("seen") or next; $_->label("flagged") and next; -- cgit v1.2.3