Fixed: OSX version detection

Fixes #5615
pull/6/head
Taloth Saldono 3 years ago committed by Qstick
parent 20dd071fd6
commit b4b323a67a

@ -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))
{

Loading…
Cancel
Save