]> Sergey Matveev's repositories - public-inbox.git/commit
lei_xsearch: quiet error message on SIG{PIPE,TERM}
authorEric Wong <e@80x24.org>
Sat, 30 Oct 2021 08:11:42 +0000 (08:11 +0000)
committerEric Wong <e@80x24.org>
Sat, 30 Oct 2021 18:34:33 +0000 (18:34 +0000)
commit8fbb1e5d9430b9403679c5701e109d43ad979f3f
tree65097c69b9f72bbfeb57c97f8aca797d76cf06e1
parent97a9139a75729c41bb91acd711e8b088e6379600
lei_xsearch: quiet error message on SIG{PIPE,TERM}

SIGPIPE and SIGTERM are common and user-induced, so they're
not worth warning on.  Add the value of "$?", though, since
it can help users notice other errors (e.g. SIGSEGV).
lib/PublicInbox/LeiXSearch.pm
t/lei-sigpipe.t