Skip to content

Commit

Permalink
fix reset call
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Dec 4, 2014
1 parent 4a725d6 commit 03ba19a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/include/bootloader/routines/switcher.rb
Expand Up @@ -73,8 +73,8 @@ def blRead(reread, avoid_reading_device_map)
# Reset bootloader-specific settings
# @param [Boolean] init boolean true if basic initialization of system-dependent
# settings should be done
def blReset(init)
get_function(:Reset).call(init)
def blReset
get_function(:Reset).call
end

# Propose bootloader settings
Expand Down
2 changes: 1 addition & 1 deletion src/lib/bootloader/grub2base.rb
Expand Up @@ -79,7 +79,7 @@ def Update

# Reset bootloader settings
# @param [Boolean] unused
def Reset(_init)
def Reset
return if Mode.autoinst
BootCommon.Reset
end
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Bootloader.rb
Expand Up @@ -200,7 +200,7 @@ def ResetEx(init)
BootCommon.changed = false
BootCommon.location_changed = false
BootCommon.write_settings = {}
blReset(init)
blReset

nil
end
Expand Down

0 comments on commit 03ba19a

Please sign in to comment.