aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2025-04-26 18:30:25 +0300
committerGitHub <noreply@github.com>2025-04-26 09:30:25 -0600
commit8ee358de2ca956d22c14f28c3783ba99acd87a32 (patch)
tree8127a03e3ef0b7b2a19a51781ec809ba2ce66216 /Jellyfin.Server
parentdf5671263fc8370ae17b7a5d53f06a86de5cbc93 (diff)
Check for path overlaps (#12832)
Diffstat (limited to 'Jellyfin.Server')
-rw-r--r--Jellyfin.Server/Program.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index 8d0bf73f6..511306755 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -77,6 +77,7 @@ namespace Jellyfin.Server
{
_startTimestamp = Stopwatch.GetTimestamp();
ServerApplicationPaths appPaths = StartupHelpers.CreateApplicationPaths(options);
+ appPaths.MakeSanityCheckOrThrow();
// $JELLYFIN_LOG_DIR needs to be set for the logger configuration manager
Environment.SetEnvironmentVariable("JELLYFIN_LOG_DIR", appPaths.LogDirectoryPath);