mirror of
https://github.com/Readarr/Readarr.git
synced 2026-03-05 13:20:32 -05:00
Fixed: Error in epic fail handler if console input redirected
Fixes Sentry LIDARR-1YS
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user