From 529d8044142415f1a8f0559c057bcf292e6bfc67 Mon Sep 17 00:00:00 2001 From: PloughPuff Date: Fri, 18 Jan 2019 17:19:47 +0000 Subject: [PATCH] Modify to use correct logic before creating directory Address review comments. --- Jellyfin.Server/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs index 4a09645d37..343ef0bc32 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); }