1
0
mirror of https://github.com/rancher/os.git synced 2025-08-17 14:28:16 +00:00

Merge pull request #1077 from joshwget/update-console-switch-warning

Update console switch warning
This commit is contained in:
Darren Shepherd 2016-06-30 21:51:07 -07:00 committed by GitHub
commit f98e3efad2

View File

@ -58,8 +58,10 @@ func consoleSwitch(c *cli.Context) error {
if !c.Bool("force") { if !c.Bool("force") {
in := bufio.NewReader(os.Stdin) in := bufio.NewReader(os.Stdin)
fmt.Println("Switching consoles will destroy the current console container and restart Docker.") fmt.Println(`Switching consoles will
fmt.Println("Note: You will also be logged out.") 1. destroy the current console container
2. log you out
3. restart Docker`)
if !yes(in, "Continue") { if !yes(in, "Continue") {
return nil return nil
} }