Skip to content

Commit

Permalink
better readability
Browse files Browse the repository at this point in the history
  • Loading branch information
jsrain committed Jan 8, 2014
1 parent 5f6bd1c commit d866d13
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/clients/inst_disk_for_image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ def main
if ret == :next
disk = UI.QueryWidget(Id(:disk), :Value)
ret = WFM.CallFunction("inst_doit", [])
ret = nil unless ret == :next

InstData.image_target_disk = disk if ret == :next
if ret == :next
InstData.image_target_disk = disk
else
ret = nil
end
elsif ret == :abort
ret = nil unless Popup.ConfirmAbort(:painless)
end
Expand Down

0 comments on commit d866d13

Please sign in to comment.