summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-07-29 14:11:28 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-07-29 14:14:25 -0700
commitfd91d991708f265a650eac7aa2eb24ef4c756dd3 (patch)
tree1a3ca98d799f541d36e700c632f68c216287aa09
parentdd613304460341c7428944e0b8c99d462a6ad38f (diff)
downloaddotfiles-fd91d991708f265a650eac7aa2eb24ef4c756dd3.tar.gz
archive-fmail-to-annex: fix variable used as array reference
-rwxr-xr-xscripts/mail/archive-fmail-to-annex2
1 files changed, 1 insertions, 1 deletions
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;