| 353 | // registered a SIGPIPE handler, then let it deal with any signals generated |
| 354 | // by the premature death of the child process, don't overwrite its handler. |
| 355 | struct sigaction act; |
| 356 | if (sigaction(SIGPIPE, nullptr, &act) < 0) { |
| 357 | LOG(ERROR) << "Communicate cannot get SIGPIPE handler: " << strerror(errno); |
| 358 | return 1; |