about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-02-07 09:40:02 -0100
committerEric Wong <e@80x24.org>2021-02-08 08:54:58 +0000
commit640fcb6c3b0961e24e170ba9591cfed4b8eb9b35 (patch)
treec02ba67582964ea5e0fa3aabb28e6ecd1e4492f8
parent8600c999da4786d2297ebbf44aa0618461c2f3cf (diff)
downloadpublic-inbox-640fcb6c3b0961e24e170ba9591cfed4b8eb9b35.tar.gz
Perl doesn't seem to warn for shadowed variables, here :x
-rw-r--r--lib/PublicInbox/LEI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index 31e6b4a8..dce80762 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -731,7 +731,7 @@ sub start_mua {
         # TODO: help wanted: other common FOSS MUAs
         } else {
                 require Text::ParseWords;
-                my @cmd = Text::ParseWords::shellwords($mua);
+                @cmd = Text::ParseWords::shellwords($mua);
                 # mutt uses '%f' for open-hook with compressed mbox, we follow
                 @cmd = map { $_ eq '%f' ? ($replaced = $mfolder) : $_ } @cmd;
         }