mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 09:59:06 -07:00
Cause exception if empty string used for config or log folders
This commit is contained in:
parent
529d804414
commit
582226c133
@ -185,7 +185,7 @@ namespace Jellyfin.Server
|
||||
}
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(configDir))
|
||||
if (configDir != null)
|
||||
{
|
||||
Directory.CreateDirectory(configDir);
|
||||
}
|
||||
@ -204,7 +204,7 @@ namespace Jellyfin.Server
|
||||
}
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(logDir))
|
||||
if (logDir != null)
|
||||
{
|
||||
Directory.CreateDirectory(logDir);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user