Fixed: Error in epic fail handler if console input redirected

Fixes Sentry Radarr-3AK
pull/2/head
ta264 5 years ago committed by Qstick
parent a5d695ec92
commit 6057b27dc8

@ -87,7 +87,7 @@ namespace NzbDrone.Console
for (int i = 0; i < 3600; i++)
{
System.Threading.Thread.Sleep(1000);
if (System.Console.KeyAvailable) break;
if (!System.Console.IsInputRedirected && System.Console.KeyAvailable) break;
}
}

Loading…
Cancel
Save