Fixed: OSX version detection

Fixes #5615
This commit is contained in:
Taloth Saldono 2020-12-23 17:18:06 +01:00 committed by Qstick
parent 2b7a383886
commit 970848acc3
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ namespace NzbDrone.Mono.EnvironmentInfo.VersionAdapters
var allFiles = _diskProvider.GetFiles(PLIST_DIR, SearchOption.TopDirectoryOnly);
var versionFile = allFiles.SingleOrDefault(c =>
c.EndsWith("SystemVersion.plist") ||
c.EndsWith("ServerVersion.plist"));
c.EndsWith("/SystemVersion.plist") ||
c.EndsWith("/ServerVersion.plist"));
if (string.IsNullOrWhiteSpace(versionFile))
{