1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-17 21:26:13 -04:00

Delete the subfolder not the parent folder

This commit is contained in:
Mark McDowall
2016-02-11 00:54:52 -08:00
parent 1a5eafd2b1
commit 5d05a85411

View File

@@ -428,7 +428,7 @@ namespace NzbDrone.Common.Disk
{
if (files.None(f => subfolder.IsParentPath(f)))
{
DeleteFolder(path, false);
DeleteFolder(subfolder, false);
}
}
}