mirror of
https://github.com/rancher/os.git
synced 2025-07-31 06:32:09 +00:00
commit
0abe9f995a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user