mirror of
https://github.com/Radarr/Radarr
synced 2024-12-31 20:35:37 +00:00
Fixed regression, mono should resolve symlinks while trying to find out the available/total space.
This commit is contained in:
parent
5550565d6a
commit
d33efe59fc
1 changed files with 7 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue