mirror of
https://github.com/Readarr/Readarr.git
synced 2026-01-30 08:42:32 -05:00
Don't list drives that aren't available.
This commit is contained in:
@@ -380,6 +380,7 @@ public List<DriveInfo> GetDrives()
|
||||
{
|
||||
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