Skip to content

Commit

Permalink
do not raise exception if grub.cfg is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jul 1, 2016
1 parent d4c6893 commit aac9d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/bootloader/sections.rb
Expand Up @@ -36,7 +36,7 @@ def default=(value)
log.info "set new default to '#{value.inspect}'"

# empty value mean no default specified
raise "Unknown value #{value.inspect}" if !all.include?(value) && !value.empty?
raise "Unknown value #{value.inspect}" if !all.empty? && !all.include?(value) && !value.empty?

@default = value
end
Expand Down

0 comments on commit aac9d5e

Please sign in to comment.