diff options
author | Eric Wong <e@80x24.org> | 2016-06-21 02:39:27 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-06-21 02:40:44 +0000 |
commit | b04e5cf1bc8969cca74ef764f2de960b1ea821a4 (patch) | |
tree | 2be20349c2691c020e1e5e901081b87d38383823 /script | |
parent | a07ac38854c1308c4b58e13253527ec3b5e7e1f9 (diff) | |
download | public-inbox-b04e5cf1bc8969cca74ef764f2de960b1ea821a4.tar.gz |
fork failures are unfortunately common when Xapian has gigabytes and gigabytes mmapped.
Diffstat (limited to 'script')
-rwxr-xr-x | script/public-inbox-mda | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/public-inbox-mda b/script/public-inbox-mda index 145aa710..013642d0 100755 --- a/script/public-inbox-mda +++ b/script/public-inbox-mda @@ -97,6 +97,7 @@ sub do_spamc { my ($in, $out) = @_; my $rdr = { 0 => fileno($in) }; my ($fh, $pid) = popen_rd([qw/spamc -E --headers/], undef, $rdr); + defined $pid or die "failed to popen_rd spamc: $!\n"; my $r; do { $r = sysread($fh, $$out, 65536, length($$out)); |