mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-27 01:57:21 +00:00
remove readline to exit app.
This commit is contained in:
parent
75a46a3abe
commit
43baa2b86e
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue