commit - f8afbdc86ed6dde7d7bc0d2c51f6a89a358412c3
commit + 70015d7a0e09198dfe1d24d340818d8769ff6ab8
blob - a3a9541fc5a19125ce634243cfce263facfa515c
blob + 3a3fb516b76cb9ed59e3a1cd223e1f0d2b0fdd9c
--- got/got.c
+++ got/got.c
if (error && error->code != GOT_ERR_CANCELLED &&
error->code != GOT_ERR_PRIVSEP_EXIT &&
!(sigpipe_received &&
- error->code == GOT_ERR_ERRNO && errno == EPIPE)) {
+ error->code == GOT_ERR_ERRNO && errno == EPIPE) &&
+ !(sigint_received &&
+ error->code == GOT_ERR_ERRNO && errno == EINTR)) {
fprintf(stderr, "%s: %s\n", getprogname(), error->msg);
return 1;
}