Don't list drives that aren't available.

pull/4/head
Taloth Saldono 10 years ago
parent ada5919136
commit 08ebc8d292

@ -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();
}

Loading…
Cancel
Save