1
0
mirror of https://github.com/rancher/os.git synced 2025-07-31 06:32:09 +00:00

Update console switch warning

This commit is contained in:
Josh Curl 2016-06-30 14:02:04 -07:00
parent b79533c7f9
commit 78fc0d15cc
No known key found for this signature in database
GPG Key ID: 82B504B9BCCFA677

View File

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