mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-30 15:37:55 +02:00
remove readline to exit app.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using System;
|
||||
using NzbDrone.Common;
|
||||
using System.Threading;
|
||||
using NzbDrone.Common.EnvironmentInfo;
|
||||
using NzbDrone.Host;
|
||||
|
||||
@@ -19,12 +19,12 @@ namespace NzbDrone.Console
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user