mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
console.ClearONLCR: move it back
This reverts most of commit 24c05b7, as otherwise it causes
a few regressions (docker cli, TestDockerSwarmSuite/TestServiceLogsTTY).
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -106,6 +106,9 @@ func handleSingle(path string, noStdin bool) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if err := console.ClearONLCR(c.Fd()); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// Copy from our stdio to the master fd.
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user