mirror of
https://github.com/Readarr/Readarr
synced 2026-02-24 15:43:21 +01:00
Fixed: Error in epic fail handler if console input redirected
Fixes Sentry LIDARR-1YS
This commit is contained in:
parent
8a20c0fa83
commit
e2c1d57d8c
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ private static void Exit(ExitCodes exitCode)
|
|||
{
|
||||
System.Threading.Thread.Sleep(1000);
|
||||
|
||||
if (System.Console.KeyAvailable) break;
|
||||
if (!System.Console.IsInputRedirected && System.Console.KeyAvailable) break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue