diff --git a/NzbDrone.Console/ConsoleApp.cs b/NzbDrone.Console/ConsoleApp.cs index f9d55a599..586027a54 100644 --- a/NzbDrone.Console/ConsoleApp.cs +++ b/NzbDrone.Console/ConsoleApp.cs @@ -1,5 +1,5 @@ using System; -using NzbDrone.Common; +using System.Threading; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Host; @@ -19,12 +19,12 @@ public static void Main(string[] args) catch (Exception e) { System.Console.WriteLine(e.ToString()); + System.Console.ReadLine(); } - if (ConsoleService.IsConsoleAvailable) + while (true) { - System.Console.WriteLine("Press enter to exit..."); - System.Console.ReadLine(); + Thread.Sleep(10 * 60); } } }