1
0
mirror of https://github.com/rancher/os.git synced 2025-07-31 06:32:09 +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)
}
fmt.Printf("Upgrading to %s\n", image)
if !stage {
fmt.Printf("Upgrading to %s\n", image)
if !force {
if !yes(in, "Continue") {
os.Exit(1)