Skip to content

Commit

Permalink
avoid endless loop when confirm update in proposal runner
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Apr 2, 2015
1 parent 7c7dc6f commit 6e6ef1f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/lib/installation/proposal_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,8 @@ def pre_continue_handling
input = Yast::WFM.CallFunction("inst_doit", [])
# bugzilla #219097, #221571, yast2-update on running system
elsif Yast::Stage.stage == "normal" && Yast::Mode.update
if !confirm_update
log.info "Update not confirmed, returning back..."
input = nil
end
input = confirm_update ? :next : nil
log.info "Update not confirmed, returning back..." unless input
end

input
Expand Down

0 comments on commit 6e6ef1f

Please sign in to comment.