]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiXSearch.pm
lei q: SIGWINCH process group with the terminal
[public-inbox.git] / lib / PublicInbox / LeiXSearch.pm
index 588df3a4b9db9934f1a7b075527bf0d40c1eff28..10485220a359976ebe6f88fad2ab3ce91c69eff0 100644 (file)
@@ -317,7 +317,12 @@ Error closing $lei->{ovv}->{dst}: $!
                        }
                        $lei->{1} = $out;
                }
-               $l2m->lock_free ? $l2m->poke_dst : $lei->start_mua;
+               if ($l2m->lock_free) {
+                       $l2m->poke_dst;
+                       $lei->poke_mua;
+               } else { # mbox users
+                       $lei->start_mua;
+               }
        }
        $lei->{-progress} and
                $lei->err('# ', $lei->{-mset_total} // 0, " matches");