diff options
| author | PloughPuff <ploughpuff@protonmail.com> | 2019-01-18 17:19:47 +0000 |
|---|---|---|
| committer | PloughPuff <ploughpuff@protonmail.com> | 2019-01-18 17:22:14 +0000 |
| commit | 529d8044142415f1a8f0559c057bcf292e6bfc67 (patch) | |
| tree | 1bca476579520d2d4637a90bc5b22cfe7a07e02d /Jellyfin.Server/Program.cs | |
| parent | 04d03c5cf9b8debccbc618b2323432bfc86491c2 (diff) | |
Modify to use correct logic before creating directory
Address review comments.
Diffstat (limited to 'Jellyfin.Server/Program.cs')
| -rw-r--r-- | Jellyfin.Server/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs index 4a09645d3..343ef0bc3 100644 --- a/Jellyfin.Server/Program.cs +++ b/Jellyfin.Server/Program.cs @@ -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); } |
