diff --git a/Duplicati/Library/Main/BackendWrapper.cs b/Duplicati/Library/Main/BackendWrapper.cs index f4370c103..f5eb144fb 100644 --- a/Duplicati/Library/Main/BackendWrapper.cs +++ b/Duplicati/Library/Main/BackendWrapper.cs @@ -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) {