1
0
mirror of https://github.com/rancher/os.git synced 2025-08-09 18:48:05 +00:00

Merge pull request #163 from deniseschannon/master

Update os.go
This commit is contained in:
Darren Shepherd 2015-04-15 02:42:38 -07:00
commit 0abe9f995a

View File

@ -174,9 +174,10 @@ func startUpgradeContainer(image string, stage, force bool) {
log.Fatal(container.Err) log.Fatal(container.Err)
} }
fmt.Printf("Upgrading to %s\n", image)
if !stage { if !stage {
fmt.Printf("Upgrading to %s\n", image)
if !force { if !force {
if !yes(in, "Continue") { if !yes(in, "Continue") {
os.Exit(1) os.Exit(1)