mirror of
https://github.com/rancher/os.git
synced 2025-09-02 07:15:41 +00:00
@@ -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)
|
||||
|
Reference in New Issue
Block a user