Fixed: Only delete update folder if it exists
This commit is contained in:
parent
7e045f3e3c
commit
6d44d6c1b7
|
@ -19,7 +19,10 @@ namespace NzbDrone.Core.Housekeeping.Housekeepers
|
|||
{
|
||||
var updateSandboxFolder = _appFolderInfo.GetUpdateSandboxFolder();
|
||||
|
||||
_diskProvider.DeleteFolder(updateSandboxFolder, true);
|
||||
if (_diskProvider.FolderExists(updateSandboxFolder))
|
||||
{
|
||||
_diskProvider.DeleteFolder(updateSandboxFolder, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue