diff options
author | Julian Andres Klode <jak@debian.org> | 2019-01-29 12:04:56 +0000 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2019-01-29 12:04:56 +0000 |
commit | e3664a6178674a009b311cd5a88cc33599efa216 (patch) | |
tree | 273f0f571301ce8facbc5a5acb1f787f0f9ab9c2 /apt-private/private-json-hooks.cc | |
parent | fb700bfa9e1850ca3379c69db0b73435bcd48fea (diff) | |
parent | 6af48a7f83540c807be1d2777470d23e6b260eb8 (diff) |
Merge branch 'trivial-epipe-fix' into 'master'
private-json-hooks.cc: deal with EPIPE
See merge request apt-team/apt!47
Diffstat (limited to 'apt-private/private-json-hooks.cc')
-rw-r--r-- | apt-private/private-json-hooks.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-json-hooks.cc b/apt-private/private-json-hooks.cc index b5c1a7172..65ff87924 100644 --- a/apt-private/private-json-hooks.cc +++ b/apt-private/private-json-hooks.cc @@ -387,7 +387,7 @@ bool RunJsonHook(std::string const &option, std::string const &method, const cha if (size < 0) { - if (errno != ECONNRESET) + if (errno != ECONNRESET && errno != EPIPE) _error->Error("Could not read response to hello message from hook %s: %s", Opts->Value.c_str(), strerror(errno)); goto out; } |