mirror of
https://github.com/Readarr/Readarr.git
synced 2026-02-02 18:22:17 -05:00
Delete the subfolder not the parent folder
This commit is contained in:
@@ -428,7 +428,7 @@ public void RemoveEmptySubfolders(string path)
|
||||
{
|
||||
if (files.None(f => subfolder.IsParentPath(f)))
|
||||
{
|
||||
DeleteFolder(path, false);
|
||||
DeleteFolder(subfolder, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user