From 8711b1a93587d8f829329ff965ca9ffd3d00144d 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 #1834 --- .../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 0a9b1f8ca..9997b25dc 100644 --- a/src/NzbDrone.Mono/EnvironmentInfo/VersionAdapters/MacOsVersionAdapter.cs +++ b/src/NzbDrone.Mono/EnvironmentInfo/VersionAdapters/MacOsVersionAdapter.cs @@ -37,8 +37,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)) {