From 72de64034d991c5d77de2f2212a91237748a2c0f Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Thu, 12 Oct 2023 16:14:44 +0800 Subject: [PATCH] notmuch-mutt: fix Perl syntax of hash index lookups Fixes: commit 239fdbbbf0cbd6cd6ebafb87e88cdb3cded75364 --- contrib/notmuch-mutt/notmuch-mutt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/notmuch-mutt/notmuch-mutt b/contrib/notmuch-mutt/notmuch-mutt index 1ac68065..b81252c8 100755 --- a/contrib/notmuch-mutt/notmuch-mutt +++ b/contrib/notmuch-mutt/notmuch-mutt @@ -67,7 +67,7 @@ sub check_search_cache_maildir($) { foreach my $d (@contents) { -l "$maildir/$d" and die_dir( $maildir, "contains symlink $d"); -d "$maildir/$d" or die_dir( $maildir, "contains non-directory $d"); - exists($required[$d]) or die_dir( $maildir, "contains directory $d"); + exists($required{$d}) or die_dir( $maildir, "contains directory $d"); } } -- 2.43.0