about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/LEI.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index 24f5930b..17023191 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -795,9 +795,9 @@ sub oneshot {
         local %PATH2CFG;
         umask(077) // die("umask(077): $!");
         dispatch((bless {
-                0 => *STDIN{IO},
-                1 => *STDOUT{IO},
-                2 => *STDERR{IO},
+                0 => *STDIN{GLOB},
+                1 => *STDOUT{GLOB},
+                2 => *STDERR{GLOB},
                 env => \%ENV
         }, __PACKAGE__), @ARGV);
 }