1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-30 19:58:39 +00:00

fix DataFolder command line option

This commit is contained in:
kaso17 2017-11-30 11:17:09 +01:00
parent 570553f7d6
commit 16f255745f

View file

@ -102,6 +102,9 @@ namespace Jackett.Common.Models.Config
runtimeSettings.IgnoreSslErrors = options.IgnoreSslErrors;
runtimeSettings.NoRestart = options.NoRestart;
if (!string.IsNullOrWhiteSpace(options.DataFolder))
runtimeSettings.CustomDataFolder = options.DataFolder;
return runtimeSettings;
}