diff --git a/src/NzbDrone.Core/Housekeeping/Housekeepers/CleanupTemporaryUpdateFiles.cs b/src/NzbDrone.Core/Housekeeping/Housekeepers/CleanupTemporaryUpdateFiles.cs index 4bb6ddf75..23383b99d 100644 --- a/src/NzbDrone.Core/Housekeeping/Housekeepers/CleanupTemporaryUpdateFiles.cs +++ b/src/NzbDrone.Core/Housekeeping/Housekeepers/CleanupTemporaryUpdateFiles.cs @@ -1,4 +1,4 @@ -using NzbDrone.Common.Disk; +using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; @@ -19,7 +19,10 @@ public void Clean() { var updateSandboxFolder = _appFolderInfo.GetUpdateSandboxFolder(); - _diskProvider.DeleteFolder(updateSandboxFolder, true); + if (_diskProvider.FolderExists(updateSandboxFolder)) + { + _diskProvider.DeleteFolder(updateSandboxFolder, true); + } } } }