From 3813e250de41c0536abc55b90d2c23d6fc4dfd90 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Wed, 29 Jun 2016 15:30:32 +0100 Subject: [PATCH] controller: Recursively remove existing fetcher target --- SparkleShare/Common/BaseController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SparkleShare/Common/BaseController.cs b/SparkleShare/Common/BaseController.cs index 828b5924..508ccc96 100644 --- a/SparkleShare/Common/BaseController.cs +++ b/SparkleShare/Common/BaseController.cs @@ -573,7 +573,7 @@ namespace SparkleShare { info.TargetDirectory = Path.Combine (Config.TmpPath, canonical_name); if (Directory.Exists (info.TargetDirectory)) - Directory.Delete (info.TargetDirectory); + Directory.Delete (info.TargetDirectory, true); try { this.fetcher = (BaseFetcher) Activator.CreateInstance (