summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/proxy.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2017-07-15 10:59:11 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2017-07-26 19:07:55 +0200
commitb1165a67b1f47f64082fce9a4af80838a2f5e55c (patch)
treef5e83e33b8ed9bb0965fdc7838ff903e66fd9bd6 /apt-pkg/contrib/proxy.cc
parent49a81c237e18775a10369feaec303881f377bb6a (diff)
ignore SIGPIPE in dump solver if forwarding
Our test-external-dependency-solver-protocol test sometimes fails on the immediately 'crashing' solver exit1withoutmsg with the message that it got SIGPIPE from the solver. That isn't really possible as the solver produces no output, but on inspection its not this solver getting the signal but the wrapping provided by the dump-solver as the wrapped solver instantly exits. Simply ignoring the signal helps in perhaps extracting the last words of another solver (as this one has none), but at the very least we get the exit code of the wrapped solver we interested in as output.
Diffstat (limited to 'apt-pkg/contrib/proxy.cc')
0 files changed, 0 insertions, 0 deletions