From 5d05a85411bc8ed44a8960fa93ecd504276a0d85 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 11 Feb 2016 00:54:52 -0800 Subject: [PATCH] Delete the subfolder not the parent folder --- src/NzbDrone.Common/Disk/DiskProviderBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Common/Disk/DiskProviderBase.cs b/src/NzbDrone.Common/Disk/DiskProviderBase.cs index 415e778f9..5db864af2 100644 --- a/src/NzbDrone.Common/Disk/DiskProviderBase.cs +++ b/src/NzbDrone.Common/Disk/DiskProviderBase.cs @@ -428,7 +428,7 @@ public void RemoveEmptySubfolders(string path) { if (files.None(f => subfolder.IsParentPath(f))) { - DeleteFolder(path, false); + DeleteFolder(subfolder, false); } } }