ctr: take console flag in account when readying IOs

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2017-01-12 10:24:22 -08:00
parent 8e603d2e48
commit 3234546ee6
3 changed files with 46 additions and 44 deletions

View file

@ -98,7 +98,7 @@ var runCommand = cli.Command{
Stderr: filepath.Join(tmpDir, "stderr"),
}
fwg, err := prepareStdio(crOpts.Stdin, crOpts.Stdout, crOpts.Stderr)
fwg, err := prepareStdio(crOpts.Stdin, crOpts.Stdout, crOpts.Stderr, crOpts.Console)
if err != nil {
return err
}