From 4c37d94aabd4722a304025a14b4599ce26bdc921 Mon Sep 17 00:00:00 2001 From: Denise Date: Mon, 13 Apr 2015 11:46:38 -0700 Subject: [PATCH] Update os.go --- cmd/control/os.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/control/os.go b/cmd/control/os.go index 67acc8d8..9d9d3b26 100644 --- a/cmd/control/os.go +++ b/cmd/control/os.go @@ -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)