Fixed: Error in epic fail handler if console input redirected

Fixes Sentry LIDARR-1YS
pull/1689/head
ta264 4 years ago committed by Qstick
parent 0bde5fd9e5
commit ef30db58ee

@ -89,7 +89,7 @@ namespace NzbDrone.Console
{
System.Threading.Thread.Sleep(1000);
if (System.Console.KeyAvailable) break;
if (!System.Console.IsInputRedirected && System.Console.KeyAvailable) break;
}
}

Loading…
Cancel
Save