|
|
@ -1,5 +1,5 @@
|
|
|
|
using System;
|
|
|
|
using System;
|
|
|
|
using NzbDrone.Common;
|
|
|
|
using System.Threading;
|
|
|
|
using NzbDrone.Common.EnvironmentInfo;
|
|
|
|
using NzbDrone.Common.EnvironmentInfo;
|
|
|
|
using NzbDrone.Host;
|
|
|
|
using NzbDrone.Host;
|
|
|
|
|
|
|
|
|
|
|
@ -19,12 +19,12 @@ namespace NzbDrone.Console
|
|
|
|
catch (Exception e)
|
|
|
|
catch (Exception e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
System.Console.WriteLine(e.ToString());
|
|
|
|
System.Console.WriteLine(e.ToString());
|
|
|
|
|
|
|
|
System.Console.ReadLine();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (ConsoleService.IsConsoleAvailable)
|
|
|
|
while (true)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
System.Console.WriteLine("Press enter to exit...");
|
|
|
|
Thread.Sleep(10 * 60);
|
|
|
|
System.Console.ReadLine();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|