more linux fixes

This commit is contained in:
kay.one 2013-07-25 23:11:55 -07:00
commit 035434468e
2 changed files with 20 additions and 13 deletions

View file

@ -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('/', '\\', ' ');
}