From 970848acc3e1afa9feb693e9c56abc716a0542f6 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Wed, 23 Dec 2020 17:18:06 +0100 Subject: [PATCH] Fixed: OSX version detection Fixes #5615 --- .../EnvironmentInfo/VersionAdapters/MacOsVersionAdapter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Mono/EnvironmentInfo/VersionAdapters/MacOsVersionAdapter.cs b/src/NzbDrone.Mono/EnvironmentInfo/VersionAdapters/MacOsVersionAdapter.cs index 175219d61..59f743da2 100644 --- a/src/NzbDrone.Mono/EnvironmentInfo/VersionAdapters/MacOsVersionAdapter.cs +++ b/src/NzbDrone.Mono/EnvironmentInfo/VersionAdapters/MacOsVersionAdapter.cs @@ -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)) {