diff options
author | Eric Wong <e@80x24.org> | 2021-10-14 04:32:55 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-10-15 02:23:21 +0000 |
commit | 25088c21b46b5d97b29ecb1d25b0342f37133b58 (patch) | |
tree | 73cec51e31de738aff1ccc647f67c0df266f0863 /lib/PublicInbox/LeiXSearch.pm | |
parent | ef6d335cb515996c2dd7cc0d9a188f9b041db425 (diff) | |
download | public-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.pm | 2 |
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"); |