1
0
mirror of https://github.com/rancher/os.git synced 2025-09-16 15:09:27 +00:00

Update os.go

This commit is contained in:
Denise
2015-04-13 11:46:38 -07:00
parent b0e3075c0d
commit 4c37d94aab

View File

@@ -165,9 +165,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)