Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows: Restore console mode on set mode failure
SetConsoleMode() on input handles appears to remember invalid bits that were set, causing problems for other programs (such as xcopy.exe) trying to set the console mode after docker.exe has exited. Always restore the input console mode on set failure. Signed-off-by: John Starks <[email protected]> (cherry picked from commit 83c186f) Signed-off-by: Tibor Vass <[email protected]>
- Loading branch information