mirror of https://github.com/lidarr/Lidarr
parent
8c2fa93509
commit
8711b1a935
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue