Skip to content

Commit

Permalink
Fixed a crash when EULA download fails (bsc#941232)
Browse files Browse the repository at this point in the history
- 3.1.167
  • Loading branch information
lslezak committed Jan 15, 2016
1 parent d251b42 commit a841904
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions package/yast2-registration.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 15 08:44:50 UTC 2016 - lslezak@suse.cz

- Fixed a crash when EULA download fails (bsc#941232)
- 3.1.167

-------------------------------------------------------------------
Wed Nov 18 11:32:26 UTC 2015 - igonzalezsosa@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-registration.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-registration
Version: 3.1.166
Version: 3.1.167
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
2 changes: 1 addition & 1 deletion src/lib/registration/ui/addon_eula_dialog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def run_eula_dialog(eula_reader)
# @return [Symbol] :accepted, :back, :abort, :halt
def accept_eula(addon)
Dir.mktmpdir("extension-eula-") do |tmpdir|
return false unless download_eula(addon, tmpdir)
return :back unless download_eula(addon, tmpdir)
eula_reader = EulaReader.new(tmpdir)

setup_eula_dialog(addon, eula_reader, tmpdir)
Expand Down

0 comments on commit a841904

Please sign in to comment.