mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
Don't list drives that aren't available.
This commit is contained in:
parent
ada5919136
commit
08ebc8d292
1 changed files with 1 additions and 0 deletions
|
@ -380,6 +380,7 @@ namespace NzbDrone.Common.Disk
|
||||||
{
|
{
|
||||||
return DriveInfo.GetDrives()
|
return DriveInfo.GetDrives()
|
||||||
.Where(d => d.DriveType == DriveType.Fixed || d.DriveType == DriveType.Network)
|
.Where(d => d.DriveType == DriveType.Fixed || d.DriveType == DriveType.Network)
|
||||||
|
.Where(d => d.IsReady)
|
||||||
.ToList();
|
.ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue