mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
Rebase on master
This commit is contained in:
@@ -205,9 +205,9 @@ namespace Jellyfin.Server
|
||||
string cacheDir = Environment.GetEnvironmentVariable("JELLYFIN_CACHE_DIR");
|
||||
if (string.IsNullOrEmpty(cacheDir))
|
||||
{
|
||||
if (options.ContainsOption("-cachedir"))
|
||||
if (options.CacheDir != null)
|
||||
{
|
||||
cacheDir = options.GetOption("-cachedir");
|
||||
cacheDir = options.CacheDir;
|
||||
}
|
||||
else if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user