mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-28 19:54:48 +03:00
Replace == null with is null
This commit is contained in:
@@ -677,7 +677,7 @@ namespace Jellyfin.Server
|
||||
{
|
||||
var xdgRuntimeDir = Environment.GetEnvironmentVariable("XDG_RUNTIME_DIR");
|
||||
var socketFile = "jellyfin.sock";
|
||||
if (xdgRuntimeDir == null)
|
||||
if (xdgRuntimeDir is null)
|
||||
{
|
||||
// Fall back to config dir
|
||||
socketPath = Path.Join(appPaths.ConfigurationDirectoryPath, socketFile);
|
||||
|
||||
Reference in New Issue
Block a user