Skip to content

Commit

Permalink
grub2bls
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Nov 5, 2024
1 parent 0c204dd commit 763f06e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/bootloader/bls_sections.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,13 @@ def default=(value)

# writes default to system making it persistent
def write
return if default.empty?
return if @default.empty?
write_default()
end

def read
@data = read_entries
@all = @data.map { |e| e["title"] }
log.info "xxxxxx #{@data}"
log.info "xxxxxx #{@all}"
@default = read_default
end

Expand Down

0 comments on commit 763f06e

Please sign in to comment.