Fix typo:betweem->between and PtySlace->PtySlave

Signed-off-by: Arika Chen <eaglesora@gmail.com>
This commit is contained in:
ArikaChen
2014-09-30 07:22:09 -04:00
committed by Arika Chen
parent 8128339bc8
commit bfc9d8bbea
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ func (m *containerMonitor) shouldRestart(exitStatus int) bool {
func (m *containerMonitor) callback(processConfig *execdriver.ProcessConfig, pid int) {
if processConfig.Tty {
// The callback is called after the process Start()
// so we are in the parent process. In TTY mode, stdin/out/err is the PtySlace
// so we are in the parent process. In TTY mode, stdin/out/err is the PtySlave
// which we close here.
if c, ok := processConfig.Stdout.(io.Closer); ok {
c.Close()