From: Michael Vogt Date: Tue, 3 Feb 2009 09:50:32 +0000 (+0100) Subject: methods/https.cc: do not unlink partial files (thanks to robbiew) X-Git-Tag: 0.7.22~6^2~25 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/cb3cc4806c6585757377dfd54b7ce880ae1f99c7 methods/https.cc: do not unlink partial files (thanks to robbiew) --- diff --git a/methods/https.cc b/methods/https.cc index 98dfeefa1..7c743a424 100644 --- a/methods/https.cc +++ b/methods/https.cc @@ -248,7 +248,6 @@ bool HttpsMethod::Fetch(FetchItem *Itm) // cleanup if(success != 0) { - unlink(File->Name().c_str()); _error->Error("%s", curl_errorstr); Fail(); return true;