Fixed an issue where a cleanup would go into an infinite loop.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@564 59da171f-624f-0410-aa54-27559c288bec
This commit is contained in:
kenneth.skovhede@gmail.com
2010-10-27 21:09:11 +00:00
parent d130d7cf10
commit 0eedae3760
+8 -3
View File
@@ -673,11 +673,16 @@ namespace Duplicati.Library.Main
{
try
{
string file = FindCacheEntry(remote as SignatureEntry);
try
{
while(file != null)
System.IO.File.Delete(file);
{
while (file != null)
{
System.IO.File.Delete(file);
file = FindCacheEntry(remote as SignatureEntry);
}
}
catch (Exception ex)
{