about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiXSearch.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-14 04:32:55 +0000
committerEric Wong <e@80x24.org>2021-10-15 02:23:21 +0000
commit25088c21b46b5d97b29ecb1d25b0342f37133b58 (patch)
tree73cec51e31de738aff1ccc647f67c0df266f0863 /lib/PublicInbox/LeiXSearch.pm
parentef6d335cb515996c2dd7cc0d9a188f9b041db425 (diff)
downloadpublic-inbox-25088c21b46b5d97b29ecb1d25b0342f37133b58.tar.gz
This lets users Ctrl-Z from their terminal to pause an entire
git-clone process hierarchy.
Diffstat (limited to 'lib/PublicInbox/LeiXSearch.pm')
-rw-r--r--lib/PublicInbox/LeiXSearch.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm
index ee9216fe..668d0b6e 100644
--- a/lib/PublicInbox/LeiXSearch.pm
+++ b/lib/PublicInbox/LeiXSearch.pm
@@ -469,7 +469,7 @@ sub do_post_augment {
         $err = $@;
         if ($err) {
                 if (my $lxs = delete $lei->{lxs}) {
-                        $lxs->wq_kill;
+                        $lxs->wq_kill('-TERM');
                         $lxs->wq_close(0, undef, $lei);
                 }
                 $lei->fail("$err");