mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-12-27 08:44:34 +01:00
Don't list drives that aren't available.
This commit is contained in:
@@ -380,6 +380,7 @@ namespace NzbDrone.Common.Disk
|
||||
{
|
||||
return DriveInfo.GetDrives()
|
||||
.Where(d => d.DriveType == DriveType.Fixed || d.DriveType == DriveType.Network)
|
||||
.Where(d => d.IsReady)
|
||||
.ToList();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user