mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-18 21:55:12 -04:00
Delete the subfolder not the parent folder
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user