1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

Fixed regression, mono should resolve symlinks while trying to find out the available/total space.

This commit is contained in:
Taloth Saldono 2016-02-11 01:13:07 +01:00
parent 5550565d6a
commit d33efe59fc

View File

@ -22,6 +22,13 @@ public DiskProvider(IProcMountProvider procMountProvider)
_procMountProvider = procMountProvider;
}
public override IMount GetMount(string path)
{
path = UnixPath.GetCompleteRealPath(path);
return base.GetMount(path);
}
public override long? GetAvailableSpace(string path)
{
Ensure.That(path, () => path).IsValidPath();