diff --git a/src/windows/wslaservice/exe/WSLAContainer.cpp b/src/windows/wslaservice/exe/WSLAContainer.cpp index e315546..f603d5f 100644 --- a/src/windows/wslaservice/exe/WSLAContainer.cpp +++ b/src/windows/wslaservice/exe/WSLAContainer.cpp @@ -87,7 +87,6 @@ Microsoft::WRL::ComPtr WSLAContainer::Create(const WSLA_CONTAINER std::vector inputOptions; if (hasStdin) { - // For now return a proper error if the caller tries to pass stdin without a TTY to prevent hangs. inputOptions.push_back("-i"); } diff --git a/test/windows/WSLATests.cpp b/test/windows/WSLATests.cpp index 05298ae..58c86bc 100644 --- a/test/windows/WSLATests.cpp +++ b/test/windows/WSLATests.cpp @@ -1238,8 +1238,8 @@ class WSLATests // For now, validate that trying to use stdin without a tty returns the appropriate error. auto container = launcher.Launch(*session); - // TODO: nerdctl hangs if stdin is closed without writting to it. - // Add test coverage for that usecase once that the hang is fixed. + // TODO: nerdctl hangs if stdin is closed without writing to it. + // Add test coverage for that usecase once the hang is fixed. auto process = container.GetInitProcess(); auto input = process.GetStdHandle(0);