Merge pull request #16908 from feihujiang/printClueForGettingCommandPrompt

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2015-11-10 16:02:32 -08:00
commit 685071bd4f

View File

@ -182,6 +182,7 @@ func (p *AttachOptions) Run() error {
if err != nil {
glog.Fatal(err)
}
fmt.Fprintln(p.Out, "\nHit enter for command prompt")
// this handles a clean exit, where the command finished
defer term.RestoreTerminal(inFd, oldState)