mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-03-24 14:27:32 +00:00
Fixed regression, mono should resolve symlinks while trying to find out the available/total space.
This commit is contained in:
@@ -22,6 +22,13 @@ namespace NzbDrone.Mono
|
||||
_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();
|
||||
|
||||
Reference in New Issue
Block a user