mirror of
https://github.com/Jackett/Jackett
synced 2025-01-02 13:16:16 +00:00
fix DataFolder command line option
This commit is contained in:
parent
570553f7d6
commit
16f255745f
1 changed files with 3 additions and 0 deletions
|
@ -102,6 +102,9 @@ namespace Jackett.Common.Models.Config
|
||||||
runtimeSettings.IgnoreSslErrors = options.IgnoreSslErrors;
|
runtimeSettings.IgnoreSslErrors = options.IgnoreSslErrors;
|
||||||
runtimeSettings.NoRestart = options.NoRestart;
|
runtimeSettings.NoRestart = options.NoRestart;
|
||||||
|
|
||||||
|
if (!string.IsNullOrWhiteSpace(options.DataFolder))
|
||||||
|
runtimeSettings.CustomDataFolder = options.DataFolder;
|
||||||
|
|
||||||
return runtimeSettings;
|
return runtimeSettings;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue