Delete the subfolder not the parent folder

pull/6/head
Mark McDowall 9 years ago
parent 1a5eafd2b1
commit 5d05a85411

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

Loading…
Cancel
Save