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"); } }