diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2008-01-07 18:45:30 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2008-01-07 18:45:30 +0100 |
commit | f0983ff2091df782027a2e344cbd9e3df43c1450 (patch) | |
tree | 4eb2245274fc301e2f7e2a6a59918b539c13f631 /methods | |
parent | 760d4968005c97f0d5fd6403633f367aac89c763 (diff) |
* apt-pkg/acquire-worker.cc, methods/connect.cc:
- consider a ResolveError a transient-network problem
Diffstat (limited to 'methods')
-rw-r--r-- | methods/connect.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/connect.cc b/methods/connect.cc index 8c2ac6d56..aef7db389 100644 --- a/methods/connect.cc +++ b/methods/connect.cc @@ -164,6 +164,7 @@ bool Connect(string Host,int Port,const char *Service,int DefPort,int &Fd, DefPort = 0; continue; } + Owner->SetFailExtraMsg("\nFailReason: ResolveFailure"); return _error->Error(_("Could not resolve '%s'"),Host.c_str()); } |