mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
Delete the subfolder not the parent folder
This commit is contained in:
parent
1a5eafd2b1
commit
5d05a85411
1 changed files with 1 additions and 1 deletions
|
@ -428,7 +428,7 @@ namespace NzbDrone.Common.Disk
|
||||||
{
|
{
|
||||||
if (files.None(f => subfolder.IsParentPath(f)))
|
if (files.None(f => subfolder.IsParentPath(f)))
|
||||||
{
|
{
|
||||||
DeleteFolder(path, false);
|
DeleteFolder(subfolder, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue