about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-06-12 00:10:41 +0000
committerEric Wong <e@80x24.org>2021-06-13 17:39:35 +0000
commitbe7da7fd80d9373728476a582d0eec9820a4d424 (patch)
tree0e2c6b93e9904bceded77cfcf33933c29b7e546b
parent26c426cf6fd9a3f44f11fa30e4824aeac574a6a0 (diff)
downloadpublic-inbox-be7da7fd80d9373728476a582d0eec9820a4d424.tar.gz
This is necessary when using "ls-mail-source" on an unreachable
IMAP server.
-rw-r--r--lib/PublicInbox/LEI.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index 833d9c4d..122045ee 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -446,6 +446,7 @@ sub x_it ($$) {
         # make sure client sees stdout before exit
         $self->{1}->autoflush(1) if $self->{1};
         dump_and_clear_log();
+        stop_pager($self);
         if ($self->{pkt_op_p}) { # to top lei-daemon
                 $self->{pkt_op_p}->pkt_do('x_it', $code);
         } elsif ($self->{sock}) { # to lei(1) client