diff options
author | Eric Wong <e@80x24.org> | 2023-03-21 23:07:43 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-03-25 09:38:02 +0000 |
commit | 5161b1ecf102f6190c4ce04436eedcc431ef4ad5 (patch) | |
tree | 3070bac9d965ce2721c09fd8c312c9385c4bd4da /script | |
parent | f93b7946eaa7265468fa502ef391215f9d9739ce (diff) | |
download | public-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-x | script/public-inbox-cindex | 3 |
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}); |