From: David Kalnischkies Date: Fri, 27 Mar 2015 10:14:44 +0000 (+0100) Subject: do not unlink https file on general error X-Git-Tag: 1.1.exp9~140^2~64 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/bb948ef562862e5cc9fcfb3d7b5e41c70382adeb?ds=inline do not unlink https file on general error It might be quite interesting which file (content) made curl freak out and other methods keep the file around as well. Git-Dch: Ignore --- diff --git a/methods/https.cc b/methods/https.cc index 32de42e4b..c69e84d3a 100644 --- a/methods/https.cc +++ b/methods/https.cc @@ -386,7 +386,6 @@ bool HttpsMethod::Fetch(FetchItem *Itm) if (success != 0) { _error->Error("%s", curl_errorstr); - unlink(File->Name().c_str()); return false; }