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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user