Skip to content

Commit

Permalink
Merge 589b887 into ad96b00
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Jun 26, 2017
2 parents ad96b00 + 589b887 commit 9201117
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
8 changes: 8 additions & 0 deletions package/yast2-kdump.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jun 26 15:27:06 CEST 2017 - schubi@suse.de

- Crash in AutoYaST clone: Fix for "dup" while getting
crash_xen_kernel_values and crash_kernel_values values.
(bnc#1045965)
- 3.2.7

-------------------------------------------------------------------
Wed Jun 21 09:10:56 UTC 2017 - gsouza@suse.com

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


Name: yast2-kdump
Version: 3.2.6
Version: 3.2.7
Release: 0
Summary: Configuration of kdump
License: GPL-2.0
Expand Down
12 changes: 10 additions & 2 deletions src/modules/Kdump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,11 @@ def crash_kernel_values
# modification.
# The old value (ensuring the Array format) will be returned.
if @crashkernel_list_ranges
return Array(@crashkernel_param_values.dup)
if @crashkernel_param_values.is_a? Symbol
return @crashkernel_param_values
else
return Array(@crashkernel_param_values.dup)
end
end

result = []
Expand Down Expand Up @@ -1173,7 +1177,11 @@ def crash_xen_kernel_values
# modification.
# The old value (ensuring the Array format) will be returned.
if @crashkernel_list_ranges
return Array(@crashkernel_xen_param_values.dup)
if @crashkernel_xen_param_values.is_a? Symbol
return @crashkernel_xen_param_values
else
return Array(@crashkernel_xen_param_values.dup)
end
end

result = []
Expand Down

0 comments on commit 9201117

Please sign in to comment.