mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
more linux fixes
This commit is contained in:
parent
67661c6893
commit
035434468e
2 changed files with 20 additions and 13 deletions
|
@ -25,7 +25,7 @@ namespace NzbDrone.Common
|
|||
|
||||
var info = new FileInfo(path);
|
||||
|
||||
if (info.FullName.StartsWith(@"\\")) //UNC
|
||||
if (!OsInfo.IsLinux && info.FullName.StartsWith(@"\\")) //UNC
|
||||
{
|
||||
return info.FullName.TrimEnd('/', '\\', ' ');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue