mirror of
https://github.com/rancher/os.git
synced 2025-09-17 15:40:47 +00:00
Update os.go
This commit is contained in:
@@ -165,9 +165,10 @@ func startUpgradeContainer(image string, stage, force bool) {
|
|||||||
log.Fatal(container.Err)
|
log.Fatal(container.Err)
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("Upgrading to %s\n", image)
|
|
||||||
|
|
||||||
if !stage {
|
if !stage {
|
||||||
|
fmt.Printf("Upgrading to %s\n", image)
|
||||||
|
|
||||||
if !force {
|
if !force {
|
||||||
if !yes(in, "Continue") {
|
if !yes(in, "Continue") {
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
Reference in New Issue
Block a user