about summary refs log tree commit homepage
path: root/script
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-03-21 23:07:43 +0000
committerEric Wong <e@80x24.org>2023-03-25 09:38:02 +0000
commit5161b1ecf102f6190c4ce04436eedcc431ef4ad5 (patch)
tree3070bac9d965ce2721c09fd8c312c9385c4bd4da /script
parentf93b7946eaa7265468fa502ef391215f9d9739ce (diff)
downloadpublic-inbox-5161b1ecf102f6190c4ce04436eedcc431ef4ad5.tar.gz
We check for all socket write errors anyways, and I don't expect
stderr output to be significant enough to matter.
Diffstat (limited to 'script')
-rwxr-xr-xscript/public-inbox-cindex3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/public-inbox-cindex b/script/public-inbox-cindex
index f8a3ebbb..fb906bad 100755
--- a/script/public-inbox-cindex
+++ b/script/public-inbox-cindex
@@ -36,7 +36,8 @@ die "--jobs must be >= 0\n" if defined $opt->{jobs} && $opt->{jobs} < 0;
 require IO::Handle;
 STDOUT->autoflush(1);
 STDERR->autoflush(1);
-local $SIG{USR1} = 'IGNORE'; # to be overridden in cidx_sync
+$SIG{USR1} = 'IGNORE'; # to be overridden in cidx_sync
+$SIG{PIPE} = 'IGNORE';
 # require lazily to speed up --help
 require PublicInbox::Admin;
 PublicInbox::Admin::do_chdir(delete $opt->{C});