From 026af222297d1d90d824e077e989ffd146bb5016 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 ref #4113 (not a fix, just partially) --- .../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 b42e77f27..301cf2734 100644 --- a/src/NzbDrone.Mono/EnvironmentInfo/VersionAdapters/MacOsVersionAdapter.cs +++ b/src/NzbDrone.Mono/EnvironmentInfo/VersionAdapters/MacOsVersionAdapter.cs @@ -39,8 +39,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))