mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
Modify to use correct logic before creating directory
Address review comments.
This commit is contained in:
@@ -185,7 +185,7 @@ namespace Jellyfin.Server
|
||||
}
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(configDir))
|
||||
if (!string.IsNullOrEmpty(configDir))
|
||||
{
|
||||
Directory.CreateDirectory(configDir);
|
||||
}
|
||||
@@ -204,7 +204,7 @@ namespace Jellyfin.Server
|
||||
}
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(logDir))
|
||||
if (!string.IsNullOrEmpty(logDir))
|
||||
{
|
||||
Directory.CreateDirectory(logDir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user