mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Merge pull request #16908 from feihujiang/printClueForGettingCommandPrompt
Auto commit by PR queue bot
This commit is contained in:
commit
685071bd4f
@ -182,6 +182,7 @@ func (p *AttachOptions) Run() error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
glog.Fatal(err)
|
glog.Fatal(err)
|
||||||
}
|
}
|
||||||
|
fmt.Fprintln(p.Out, "\nHit enter for command prompt")
|
||||||
// this handles a clean exit, where the command finished
|
// this handles a clean exit, where the command finished
|
||||||
defer term.RestoreTerminal(inFd, oldState)
|
defer term.RestoreTerminal(inFd, oldState)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user