diff --git a/server/RdtClient.Service/Services/TorrentRunner.cs b/server/RdtClient.Service/Services/TorrentRunner.cs index 30f1f10..e7ba302 100644 --- a/server/RdtClient.Service/Services/TorrentRunner.cs +++ b/server/RdtClient.Service/Services/TorrentRunner.cs @@ -81,6 +81,10 @@ public class TorrentRunner(ILogger logger, Torrents torrents, Dow } var settingUnpackLimit = Settings.Get.General.UnpackLimit; + if (settingUnpackLimit < 0) + { + settingUnpackLimit = 0; + } var settingDownloadPath = Settings.Get.DownloadClient.DownloadPath; if (String.IsNullOrWhiteSpace(settingDownloadPath))