Fixed: Add Unittest for DiskSpaceService irrelevant mounts

This commit is contained in:
Qstick
2017-10-29 00:42:03 -04:00
parent fe4499ee97
commit 25f08bd846
3 changed files with 24 additions and 4 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using System.IO;
using NzbDrone.Common.Extensions;
@@ -51,7 +51,7 @@ namespace NzbDrone.Common.Disk
{
get
{
if (VolumeLabel.IsNullOrWhiteSpace())
if (VolumeLabel.IsNullOrWhiteSpace() || VolumeLabel.StartsWith("UUID=") || Name == VolumeLabel)
{
return Name;
}